21.12.2014, 21:23
(
Последний раз редактировалось Onfroi; 22.12.2014 в 19:14.
)
Since I'm not good at finding little detail errors, can anyone tell why do I keep getting this?
I understand the error, but I can't find anything wrong with the syntax
Thanks in advance.
Quote:
[16:04:57] CMySQLHandler::Query(INSERT INTO `Accounts` (Username,Password,IP,Money,Score,Kills,Deaths,Ran k,Achievements,AdminLvl,milKills,swatKills,mapDeat hs) VALUES('Onfroi','hashed 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 ''hashed password' at line 1) |
pawn Код:
format(Query,sizeof(Query),"INSERT INTO `Accounts` (Username,Password,IP,Money,Score,Kills,Deaths,Rank,Achievements,AdminLvl,milKills,swatKills,mapDeaths) VALUES('%s','%s','%s','0','0','0','0','1','0','0','0','0','0')",pName(playerid),buffer,GetPlayerIP(playerid));