删除newstext中有以下内容
<table cellspacing="0" cellpadding="2" width="30" align="left" border="0"><tbody><tr><td><script src="/ads/300x300.js"></script></td></tr></tbody></table>
是不是 ?
update phome_ecms_news set newstext=REPLACE(newstext,'<table cellspacing=\"0\" cellpadding=\"2\" width=\"30\" align=\"left\" border=\"0\"><tbody><tr><td><script src=\"\/ads\/300x300.js\"><\/script><\/td><\/tr><\/tbody><\/table>','');
不行啊!!
|