im getting this error
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 'key,active)
VALUES ('test','1306750606',0,0,0,0,'
mwi35',0)' at line 1
when im trying to insert this
$insreg="INSERT INTO p_users (username,time,sent,points,banned,rank,key,active) VALUES('$userid','$date','0','0','0','0','$key','0 ')";
mysql_query($insreg) or die(mysql_error());
please tell me guys how to solve this
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 'key,active)
VALUES ('test','1306750606',0,0,0,0,'
mwi35',0)' at line 1
when im trying to insert this
$insreg="INSERT INTO p_users (username,time,sent,points,banned,rank,key,active) VALUES('$userid','$date','0','0','0','0','$key','0 ')";
mysql_query($insreg) or die(mysql_error());
please tell me guys how to solve this
Comment