Posted by Jerry Stuckle on 03/15/07 12:57
Kimmo Laine wrote:
> "Man-wai Chang" <toylet.toylet@gmail.com> wrote in message
> news:45f9075c$1@127.0.0.1...
>>> I'm guessing it has something to do with the fact that 0x54 is ASCII
>>> single quote ' .
>> Thanks. What should I do if I really need to add it into it?
>> mysql_escape_string?
>
>
> You can try that (or mysql_real_escape), I don't know how it works with a
> multibyte string, I haven't got any experience on that matter. Why don't you
> try it and see if it works? If you do test it, please share your experience
> with the group and if you find a working solution.
>
If the table is set up with the correct charset,
mysql_real_escape_string() should work.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
[Back to original message]
|