
January 8th, 2012, 11:36 AM
|
|
Contributing User
|
|
Join Date: Jun 2005
Posts: 540

Time spent in forums: 6 Days 15 h 19 m 21 sec
Reputation Power: 7
|
|
|
Unable to validate RSS(XML) feed due to special characters
Due to the " my feed will not validate on w3.org. How do I allow the quotes in the feed, I am currently using
Code:
$description = htmlentities(stripslashes($result['description']), ENT_QUOTES);
$description = str_replace("&", "&", $description);
$description = str_replace("'", "'", $description);
What else can I do to allow the " to show up ?
|