mcmuney Posted July 2, 2011 Share Posted July 2, 2011 I'd like to replace content of my database, something like: replace on_this_field where data starts with "abc.com", replace with "www.abc.com" Thanks for the help! Quote Link to comment https://forums.phpfreaks.com/topic/240919-replacing-content-in-db/ Share on other sites More sharing options...
Eiolon Posted July 2, 2011 Share Posted July 2, 2011 Take a look at REPLACE. http://dev.mysql.com/doc/refman/5.0/en/string-functions.html Quote Link to comment https://forums.phpfreaks.com/topic/240919-replacing-content-in-db/#findComment-1237526 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.