菜鸟求助PHP字符替换的问题

日期:2007-09-09 10:46:58 人气:1

菜鸟求助PHP字符替换的问题

没必要用正则,str_replace就可以了,效率还高 str_replace("height=\"480\"","height=\"480\" id=\"videoObject\"",$body); 正则替换的话就这样 preg_replace("/height=\"480\"/is&q
    A+
热门评论