finding and replacing a string in a database entry

    Date: 03/20/06 (PHP Community)    Keywords: php, database

    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 ^^

    Source: http://community.livejournal.com/php/428632.html

« PHP IDE w/ Streamlined... || Delaying a script »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home