I have a client that has written some bad coding using Word. So, I’ve tried a search and replace through phpMyAdmin using both:
UPDATE wp_posts SET post_content = " where post_content like '<font%'"
UPDATE wp_posts SET post_content = REPLACE (post_content,'<font%','');
and no luck. MySQL doesn’t find the instances of the bad <font tags and needless to say I can’t delete them.
Any mysql help would be much appreciated.
- The topic ‘“Bad, bad client code”’ is closed to new replies.