Someone help me:
$query = "INSERT INTO tbl_users(user, password, password_def, userid, level
, regdate, lastdate, email) VALUES('$username', sha1('$password')
, sha1('$password'), '$userid', '0', NOW(), NOW(), '$email');";
$userid
is a ramdon md5 id.
It gives me this error:
posttokenError: Account not created 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 '\'esck21\', sha1(\'password\'), sha1(\'password\'),
\'14bd25cbe111c2975232b33ee8c2' at line 1
I think I'm gonna have a heart attack. Thanks.