RE: XHTML Validation problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 delimiter but occurred  
>> as data."
>>
>> I'm wondering if there is a way to avoid this error. The page  
>> itself is valid and fails just in the case the user enters the &  
>> character.





Try replacing the '&' character with ' '. That is what I did to get rid
of that warning in my xhtml documents.


Steve




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux