2010-06-08, 06:53:35
Zegnåt Wrote:...and change the content child of the SimpleXML object to your own output
How?
Let's say I want to replace any "Hi!" in the content to "Hello!"
I've tried:
Code:
$xml->content = str_replace('Hi!','Hello!',@$content);