10.10.2016, 16:48
Hi there! im getting an error and i really need help ![Roll Eyes (Sarcastic)](images/smilies/rolleyes.png)
Error
![Roll Eyes (Sarcastic)](images/smilies/rolleyes.png)
Код:
format(string,sizeof(string),"INSERT INTO `logs_admin` (`Nombre`,`Administrador`,`Tipo`,`Motivo`,`Tiempo`,`IP`,`IP_Administrador`) VALUES ('%s','%s','1','%s','%d','%s','%s')",GetPlayerNameRP(playerid2),GetPlayerNameRP(playerid),(result),time,plr2IP,plrIP); mysql_query(1, string);
Код:
[16:43:02] [ERROR] CMySQLQuery::Execute[()] - (error #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 ''Loga' at line 1 [16:43:02] [DEBUG] CMySQLQuery::~CMySQLQuery() - deconstructor called