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

Fwd: [PHP] XHTML Validation problem

2008-05-02 Thread Simon Welsh
Forgot to reply all Begin forwarded message: From: Simon Welsh <[EMAIL PROTECTED]> Date: 3 May 2008 4:18:04 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] XHTML Validation problem On 3/05/2008, at 4:13, It Maq wrote: Hi, I have a page that displays data entered by the user. There

Re: [PHP] XHTML Validation problem

2008-05-02 Thread Craige Leeder
html_entities() http://ca.php.net/manual/en/function.htmlentities.php Hope this helps - Craige On Sat, May 3, 2008 at 12:13 AM, It Maq <[EMAIL PROTECTED]> wrote: > Hi, > > I have a page that displays data entered by the user. There is one user that > entered the character "&" inside the text h

[PHP] XHTML Validation problem

2008-05-02 Thread It Maq
Hi, 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 as data." I'm wonderi