im new to php why is this rss feed not working. all i get i a blank page.

$rss =  simplexml_load_file('http://feeds.feedburner.com/linuxtoday/linux?format=xml');
foreach($rss->item as $item)
{
   echo "<b>$item->title</b>" , "<br />",$item->description, "<br /><br />";
   echo sprintf("<a href='%s' target='_blank'>Read more</a>", $item->link), "<br /><br /><br />";
}

try replacing:
foreach($rss->item as $item)
with this:
foreach($rss->channel->item as $item)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.