Won't insert into the database....
Posted: Wed Aug 11, 2004 11:12 am
i have a simple script for users to signup, everything should work but doesn't. When i click submit i get no errors, but it doesn't get put into the database...
is there anything wrong in this query ?:
is there anything wrong in this query ?:
Code: Select all
$insert_query = mysql_query("INSERT INTO accounts ( `id` , `fname` , `sname` , `age` , `sex` , `username` , `password` , `email` , `colonyname` , `charactername`)" . "VALUES ('NULL', '$fname', '$sname', '$age', '$sex', '$uname', '$pass', '$emailaddy', '$colname', '$charname')");