finding and replacing a string in a database entry
I'd like to find and change the word "images/" in a database entry, and replace it with "http://mydomain.net/images/". Is there some way to do that with PHP, without having to update anything in the database?
I've tried it with preg_match(), but that didn't do anything. I'm still PHP noob anyways ^^
I've tried it with preg_match(), but that didn't do anything. I'm still PHP noob anyways ^^
