Mysql error syntax
#1

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


Messages In This Thread
Mysql error syntax - by jamal1992 - 21.01.2016, 21:41
Re: Mysql error syntax - by Vince - 21.01.2016, 21:54
Re: Mysql error syntax - by jamal1992 - 21.01.2016, 22:17
Re: Mysql error syntax - by amirm3hdi - 22.01.2016, 07:01
Re: Mysql error syntax - by jamal1992 - 23.01.2016, 20:24
Re: Mysql error syntax - by AmigaBlizzard - 23.01.2016, 22:19
Re: Mysql error syntax - by jamal1992 - 24.01.2016, 10:00
Re: Mysql error syntax - by jamal1992 - 24.01.2016, 15:03

Forum Jump:


Users browsing this thread: 3 Guest(s)