NYCPHP Meetup

NYPHP.org

[nycphp-talk] MySQL/Flash/Apostrophe issue

Ken Robinson kenrbnsn at rbnsn.com
Fri Dec 7 14:16:14 EST 2007


Quoting "P. Ju (???)" <pjlists at pobox.com>:

> Hi Kristina,
>
> PHP has a function to take care of this for you: mysql_escape_string
>
> http://www.php.net/mysql_escape_string

That's not her problem. That escapes quotes and other symbols so they  
can be stored in the database. Her problem is that the single quote is  
disrupting the output. Escaping it with a backslash won't help.

Ken




More information about the talk mailing list