Quoting "P. Ju (???)" <[EMAIL PROTECTED]>:

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

_______________________________________________
New York PHP Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk

NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com

Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php

Reply via email to