21.11.2013, 04:43
Код:
Error (0): Failed to exeute 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 's Base.', UTC_TIMESTAMP())' at line 1.
Error (0): Failed to exeute 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 's Base.', UTC_TIMESTAMP())' at line 1.
's Base.' |
'%s Base.', |
format(query,sizeof(query),"SELECT `BannedBy`, `BanReason`, `BanDate` FROM `"MyTableName"` WHERE `PlayerName` = '%s'", GetName(playerid)); |
Edit: I wonder what is the 's' you put for, but usually mysql it would be like this
|