MyBB Community Forums

Full Version: any sql query to replace
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hey sire

am a beginner in web programming(please help me) , problem is

my previous domain was http://www.college-seminars.com but now i changed domain address to http://www.seminarprojects.com , but in my some post (almost 500) previous domain name was posted for resource referral..


do i have any sql query to replace from college-seminars.com to seminarprojects.com in my database all tables


(because all links changed to seminarprojects.com)
UPDATE `your_table` 
SET 
your_field = REPLACE(your_field, 'http://www.college-seminars.com', 'http://www.seminarprojects.com ')
WHERE 1
what i have to write in the place of "your_field''
thanks i did it

works fine.............................
a lot thankzzzzzzzz...
[Image: kiss_graphics_02.gif]
you're welcome Big Grin