RE: [PHP] XHTML Validation problem

2008-05-02 Thread Steven R. Ringwald
Begin forwarded message: >> I have a page that displays data entered by the user. There is one >> user that entered the character "&" inside the text he typed. For >> this case the xhtml validation fails and gives me the following >> error: >> "character "&" is the first character of a deli

[PHP] RE: XHTML Validation problem

2008-05-02 Thread Steven R. Ringwald
>>> I have a page that displays data entered by the user. There is one >>> user that entered the character "&" inside the text he typed. For >>> this case the xhtml validation fails and gives me the following >>> error: >>> "character "&" is the first character of a delimiter but occurred >

RE: [PHP] Complex escape string

2008-05-03 Thread Steven R. Ringwald
-Original Message- From: cyaugin [mailto:[EMAIL PROTECTED] Sent: Saturday, May 03, 2008 10:20 AM To: php-general@lists.php.net Subject: [PHP] Complex escape string I have this line of code: $q = "This is the string that will go into the query: {${mysql_real_escape_string($_GET['searchstr