How to print an xml file to the screen in php?
This is not working:
$curl = curl_init(); curl_setopt ($curl, CURLOPT_URL, \'http://rss.news.y
Here's what worked for me:
Using htmlspecialchars will prevent tags from being displayed as html and won't break anything. Note that I'm using Prettyprint to highlight the code ;)