parsing xml feed with php - timestamp

I’m using the following html markup to display a table of recently played songs from a radio station:

<td align='center'><?php print $CptSongs;$CptSongs++;?></td>
<td><?php print ucwords(strtolower($xml->{"nowplaying-info"}[$CptSongs-2]->property[0])); ?></td>
<td><?php print ucwords(strtolower($xml->{"nowplaying-info"}[$CptSongs-2]->property[1])); ?></td>

This displays a standard number in the first column ie:1-50, the second column displays the track title, and the third column displays the artist name.

How do I display the timestamp in a fourth column?

Here is a sample of the xml feed:

EVERYTIME I SEE YOUR PICTURE LUBA

It has been parsed with SimpleXML

Everything is working fine except that the timestamp is not a property so i don’t know how to ‘call’ it.

Thank you for any help that you can give me!

Sponsor our Newsletter | Privacy Policy | Terms of Service