string find and replace
Posted 26 July 2006 - 03:33 AM
I find this character breaks the xml feed, and I'd rather not have to edit the database each and every time.
Thanks in advanced to anyone that can help with this trick.
Posted 26 July 2006 - 03:43 AM
$oldWord = "&";
// The new word we want in place of the old one
$newWord = "&";
// Run through the text and replaces all occurrences of $oldText
$ArticleBody = str_replace($oldWord , $newWord , $ArticleBody);
figured it out, rock on
Posted 26 July 2006 - 04:05 AM
or [php] * 1000... PLEASE READ THE POSTED SOLUTIONS CAREFULLY * 1000000...
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users