insert into (or update) mysql fails because of special characters
Hey, how do I fix that problem? For example player's name is -*KURCZACY*- tesak
and console pops Code:
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 ''5' at line 1I have following codes to insert, update and select: PHP Code:
|
Re: insert into (or update) mysql fails because of special characters
PHP Code:
|
Re: insert into (or update) mysql fails because of special characters
Quote:
|
Re: insert into (or update) mysql fails because of special characters
PHP Code:
|
Re: insert into (or update) mysql fails because of special characters
Quote:
Under this? PHP Code:
"'", "\'" and "'","''" |
Re: insert into (or update) mysql fails because of special characters
Add this function to your code and use it instead of "replace_all(...".
PHP Code:
|
Re: insert into (or update) mysql fails because of special characters
Quote:
|
| All times are GMT -4. The time now is 07:38. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.