President Obama Posted January 14, 2011 Share Posted January 14, 2011 mysql_query("UPDATE login SET GUID = $string WHERE Username = 'indica'")or die(mysql_error()); Gets this result: Unknown column 'UnWHkJD38OhkfBLVz5y1b75N4oY88rWQ' in 'field list' I really can't figure out whats wrong. Its like its turning GUID into the string I don't understand why. Quote Link to comment https://forums.phpfreaks.com/topic/224402-update-command-failing-mysql_queryupdate-login-set-guid-string-where-usern/ Share on other sites More sharing options...
lastkarrde Posted January 14, 2011 Share Posted January 14, 2011 mysql_query("UPDATE login SET GUID = '$string' WHERE Username = 'indica'")or die(mysql_error()); Quote Link to comment https://forums.phpfreaks.com/topic/224402-update-command-failing-mysql_queryupdate-login-set-guid-string-where-usern/#findComment-1159257 Share on other sites More sharing options...
President Obama Posted January 14, 2011 Author Share Posted January 14, 2011 Wow, another one of my stupid mistakes. Thanks. Quote Link to comment https://forums.phpfreaks.com/topic/224402-update-command-failing-mysql_queryupdate-login-set-guid-string-where-usern/#findComment-1159262 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.