21.01.2016, 21:41
I have this code in a dialog:
And receiving this error, but i don`t know why, the database has updated but he getting this error mysql log.
PHP код:
mysql_format(handle, string, sizeof(string), "UPDATE clans SET ClanRankName7 = '%s' WHERE ClanID = '%d'",inputtext,PlayerInfo[playerid][pClan]);
mysql_query(handle, string);
PHP код:
[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 'Clan Owner'.')' at line 1
Clan Owner - inputtext