ted_chou12 Posted December 26, 2006 Share Posted December 26, 2006 i know how to do one update at a time:mysql_query("UPDATE usercus SET age='22' WHERE age='21'")but how do you do mutiple updates? Link to comment https://forums.phpfreaks.com/topic/31855-mysql-multiple-updates/ Share on other sites More sharing options...
alpine Posted December 26, 2006 Share Posted December 26, 2006 [code]mysql_query("UPDATE usercus SET age='22', gender='Male', name='Arthur' WHERE age='21'")[/code] Link to comment https://forums.phpfreaks.com/topic/31855-mysql-multiple-updates/#findComment-147819 Share on other sites More sharing options...
ted_chou12 Posted December 26, 2006 Author Share Posted December 26, 2006 okay, thanks :D Link to comment https://forums.phpfreaks.com/topic/31855-mysql-multiple-updates/#findComment-147820 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.