I want to parse a xml, but it giving me a blank output.
My code:
$url = 'http://feeds.news.com.au/public/rss/2.0/fs_breaking_news_13.xml';
$xml = simplexml_load_file($url);
$title = $xml->item[1]->title;
The $title, gives a blank output.
Plz help.
Thank you Zeeshan