Good, I ask again for your help. I have an xml document (http://radiojoven.6te.net/AirPlayHistory.xml) with several songs and I'm trying to create a code so that it can provide me each song individually xml document, but I'm getting find the right method to do with the code provides all the songs at the same time.
Example: I want to just take the music OLLY MURS - KISS ME, as is the 4 music I made this code:
<?php
$xml = simplexml_load_file("http://radiojoven.6te.net/AirPlayHistory.xml");
foreach($xml->Song as $item)
echo $item->Artist['name'][4] . " - " . $item['title'][4] ."<br>";
?>
but appears all the songs and I do not intend it, but rranjar one code that provides me the requested music. Can I help?
Thank you!
</div>