mattm1712 Posted October 14, 2012 Share Posted October 14, 2012 why does this not work? mysql_query("UPDATE footballodds SET price='$price', SET change='$change' WHERE eventid='$eventid', outcome='$name', company='$company', market='$marketname'"); Quote Link to comment https://forums.phpfreaks.com/topic/269454-multiple-mysql-updates/ Share on other sites More sharing options...
Pikachu2000 Posted October 14, 2012 Share Posted October 14, 2012 Echo mysql_error. Quote Link to comment https://forums.phpfreaks.com/topic/269454-multiple-mysql-updates/#findComment-1385156 Share on other sites More sharing options...
Barand Posted October 14, 2012 Share Posted October 14, 2012 Too many SETs and not enough ANDs Quote Link to comment https://forums.phpfreaks.com/topic/269454-multiple-mysql-updates/#findComment-1385169 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.