Help!php Posted March 20, 2012 Share Posted March 20, 2012 I want to replace everything that is blank field to "Welcome to the page" Eg. Productid Inbox 0012 something is in here 0011 0010 something is in here 0015 so for 0011 and 0015 I want to put " Welcome to the page" but there are many other productid with empty inbox. Link to comment https://forums.phpfreaks.com/topic/259338-replace-query/ Share on other sites More sharing options...
smerny Posted March 20, 2012 Share Posted March 20, 2012 UPDATE products SET inbox = "Welcome to the page" WHERE inbox IS NULL or WHERE inbox=""? Link to comment https://forums.phpfreaks.com/topic/259338-replace-query/#findComment-1329455 Share on other sites More sharing options...
Help!php Posted March 20, 2012 Author Share Posted March 20, 2012 Thank you. I tried few sql query but didnt work. You guys always save me Link to comment https://forums.phpfreaks.com/topic/259338-replace-query/#findComment-1329475 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.