23.01.2016, 20:24
(
Последний раз редактировалось jamal1992; 23.01.2016 в 21:33.
)
Quote:
DUDE, check out sql injections,
Go to the wiki and see how to use %e. |
PHP код:
mysql_format(handle, string, sizeof(string), "UPDATE clans SET ClanTag = '%s' WHERE clans.ClanID = '%d'",inputtext,PlayerInfo[playerid][pClan]);
mysql_query(handle, string);
PHP код:
[23:23:13] [ERROR] CMySQLQuery::Execute - (error #1064) You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'JA'.')' at line 1