SA-MP Forums Archive
What's wrong with this query - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: What's wrong with this query (/showthread.php?tid=127810)



What's wrong with this query - Eazy_Efolife - 15.02.2010

Код:
INSERT INTO users (Name, Password, AdminLevel, Cash, Skin, IP, Kills, Deaths, VIP, Stickers, Mapscreated, Racescreated, Raceswon, Jailed, JailTime, AntiFall, AutoFix, Condoms) VALUES('%s',md5('%s'), %d, %d, 0, '%s', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
I get this.
Код:
MySQL Error (0): Could not execute query. 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.



Re: What's wrong with this query - Eazy_Efolife - 15.02.2010

Fixed, Thanks Norn :P

[256] is not big enough.


Re: What's wrong with this query - Norn - 15.02.2010

Quote:
Originally Posted by Eric_
Fixed, Thanks Norn :P

[256] is not big enough.