16.02.2014, 16:29
Quote:
[02/16/14 11:28:35] 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. |
pawn Код:
format(query, sizeof(query), "INSERT INTO `bans` (UserID, Username, AdminName,BanReason,Date) VALUES('%d','%s', '%s','OFFLINE BAN', '%d-%d-%d')", DataString,tmp,sendername,month,day,year);