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. 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()); 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. 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
Archived
This topic is now archived and is closed to further replies.