Mysql error syntax
#5

Quote:
Originally Posted by amirm3hdi
Посмотреть сообщение
DUDE, check out sql injections,
Go to the wiki and see how to use %e.
I did it but i don`t understant where is the problem, look here is same thing:
PHP код:
mysql_format(handlestringsizeof(string), "UPDATE clans SET ClanTag = '%s' WHERE clans.ClanID = '%d'",inputtext,PlayerInfo[playerid][pClan]);
                
mysql_query(handlestring); 
PHP код:
[23:23:13] [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 'JA'.')' at line 1 
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: 2 Guest(s)