mysql - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: mysql (
/showthread.php?tid=530645)
mysql -
MikE1990 - 08.08.2014
i have problem on this line
Код:
format(query,128,"INSERT INTO `users` (Username,Password) VALUES ('%s','%s')",username,password);
Код:
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 ''EB2A4D8251776D6AC6B7AA31838D386CA510AD4E2BD2DDA39E3A99E3E54A13116D' at line 1)
Re: mysql -
Vince - 08.08.2014
A Whirlpool hash itself is 128 characters long so there is absolutely no way the entire query would fit in 128 cells. Enlarge the query size.
Re: mysql -
MikE1990 - 08.08.2014
Thank you vince
fixed