WeirdMystery Posted May 16, 2010 Share Posted May 16, 2010 Its giving me a freakishly hard time, returns... You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'INSRET INTO `players` (id, timestamp, gameid, players) VALUES ('NULL', 'NULL', '' at line 1 $q2 = mysql_query("INSRET INTO `players` (id, timestamp, gameid, players) VALUES ('NULL', 'NULL', '$gameid', '$players')") or die(mysql_error()); Quote Link to comment https://forums.phpfreaks.com/topic/201984-mysql-syntax-error/ Share on other sites More sharing options...
WeirdMystery Posted May 16, 2010 Author Share Posted May 16, 2010 Its giving me a freakishly hard time, returns... You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'INSRET INTO `players` (id, timestamp, gameid, players) VALUES ('NULL', 'NULL', '' at line 1 $q2 = mysql_query("INSRET INTO `players` (id, timestamp, gameid, players) VALUES ('NULL', 'NULL', '$gameid', '$players')") or die(mysql_error()); Wow, am I really that stupid? I spelled INSERT wrong... Quote Link to comment https://forums.phpfreaks.com/topic/201984-mysql-syntax-error/#findComment-1059256 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.