jck Posted July 12, 2007 Share Posted July 12, 2007 replace the value of a particular field in a particular table with a new one Link to comment https://forums.phpfreaks.com/topic/59684-solved-how-do-i-do-this/ Share on other sites More sharing options...
cmgmyr Posted July 12, 2007 Share Posted July 12, 2007 "UPDATE table SET column = new_value WHERE column = old_value" something like that? Link to comment https://forums.phpfreaks.com/topic/59684-solved-how-do-i-do-this/#findComment-296644 Share on other sites More sharing options...
per1os Posted July 12, 2007 Share Posted July 12, 2007 Umm yea, very descriptive. Write the question better and more thorough than you might get some help. Link to comment https://forums.phpfreaks.com/topic/59684-solved-how-do-i-do-this/#findComment-296646 Share on other sites More sharing options...
jck Posted July 12, 2007 Author Share Posted July 12, 2007 theres no need to put WHERE column = old_value" or is there?? Link to comment https://forums.phpfreaks.com/topic/59684-solved-how-do-i-do-this/#findComment-296648 Share on other sites More sharing options...
cmgmyr Posted July 12, 2007 Share Posted July 12, 2007 if you want to change all of the rows to the new_value...no, but if you just want to change a certain old_value...yes Link to comment https://forums.phpfreaks.com/topic/59684-solved-how-do-i-do-this/#findComment-296654 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.