Jump to content

Archived

This topic is now archived and is closed to further replies.

sparky

Global Change of Data

Recommended Posts

I need a routine that will change all data that is in a field to something else...

 

Example: where class=\"abc\", I want to change it to class=\"123\"/

 

Thanks in advance.

Share this post


Link to post
Share on other sites

mySQL REPLACE function is what you are looking for. Check it out in the manual under string functions.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.