17.10.2012, 21:51
Hola,
He tenido problemas al ejecutar este query:
Error:
He tenido problemas al ejecutar este query:
Код:
format(playerQuery, sizeof(playerQuery), "INSERT INTO `Accounts`(AccountName, Password, IP, AdminLevel, Kills, Deaths, Score, Money, RegDate,LastOn,LastOnTime,Online) VALUES('%s', '%s', '%s', '0', '0', '0', '0', '0','%s','0','0','%d')", EscapeName(playerid), escpass, pIp, Date, PlayerInfo[playerid][Online]); mysql_function_query(SQLConnection, playerQuery, false, "", "");
Код:
Error ID: 1064 | Error: 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 ''0' at line 1 | Callback: | Query: INSERT INTO `Accounts`(AccountName, Password, IP, AdminLevel, Kills, Deaths, Score, Money, RegDate,LastOn,LastOnTime,Online) VALUES('LuiisRubio', '5E1BE64E87A559ADC69BFBC2ACD6F852E1F30870AC9650511B754693DFBE318B583EE66115A2AF62E471182567129B61557C20259CB3F248D52C64923FDBA2EE', '189.194.183.187', '0