Problem with MySQL: '
#1

Hello,
I have a problem with the '. This problem appear when I create an area with a name like "Toreno's house."
So [05:14:26] [ERROR] CMySQLQuery::Execute[()] - (error #1064) 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 house', -750.710449, 899.665955, -635.393555, 995.825134, 100, 2, 3)' at line 1
Then mysql_format isn't working as I thought, so this could have vulnerabilities like a sql injection.
Anyone knows how can I fix this?
Note: I want use the ' anyway in my system.
Reply


Messages In This Thread
Problem with MySQL: ' - by Su37Erich - 07.10.2014, 01:25
Re: Problem with MySQL: ' - by Flake. - 07.10.2014, 02:08
Re: Problem with MySQL: ' - by Chenko - 07.10.2014, 03:12
Re: Problem with MySQL: ' - by Su37Erich - 10.10.2014, 21:09

Forum Jump:


Users browsing this thread: 3 Guest(s)