10.03.2013, 13:00
Hey guys,
It started again... I tested my script and MySQL would not make a new account. I get this error in the debug:
On this line:
I don't see anything wrong in the script, I hope you can help me!
Thanks
It started again... I tested my script and MySQL would not make a new account. I get this error in the debug:
pawn Код:
- An error has occured. (Error ID: 1064, 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 '' at line 1)
pawn Код:
format(query, sizeof(query), "INSERT INTO playerdata (user, password, Adminlevel, Warnings, score, money, IP, Seconds, Minutes, Hours, register_date, Deaths, Kills) VALUES('%s', SHA1('%s'), 0, 0, 0, 0, '%s', 0, 0, 0, NOW(), 0, 0)", pname, passwordstring, IP);
Thanks