lee carter lee carter - 1 year ago 48
PHP Question

how do i read the simpleXML Object in php?


<?php[![enter image description here][1]][1]
$try = simplexml_load_file("https://www.theguardian.com/football/series/footballweekly/podcast.xml") ;
echo "<pre>" ;
print_r($try) ;
echo "</pre>" ;

Than I try to
echo $try->language
nothing show so how can i access this object.

Answer Source

You're missing out one level of XML: