php - How can I use special characters in MySQL -
this question has answer here:
- how can prevent sql injection in php? 28 answers
- quick function replace ' \' in php 3 answers
how can insert special characters ♣
, é
sql table? when try error below:
you have error in sql syntax; check manual corresponds mysql server version right syntax use near '] ♣ us3rnamé', '123456789', 'http://blabla.com/blabla/', 'http://' @ line 1
the data type text
. guess shouldn't matter.
try addslashes in php documentation
Comments
Post a Comment