If somebody could help me sort this so it echoes the <filename> contents such asxfire
screenshot:
screenshot:
screenshot:
screenshot:
screenshot:
screenshot:
screenshot:
screenshot:
screenshot:
screenshot:
screenshot:
screenshot:
screenshot:
That would be great, below is the PHP code I'm currently using. I'm not an expert in the PHP language so be nice0b20a2bd69b5fa46c2ec2f42474f9ca8df12b88e.jpg
Code: Select all
<?php
$xml = simplexml_load_file("http://www.xfire.com/xml/xfire/screenshots/");
echo $xml->getName() . "<br />";
foreach($xml->children() as $child)
{
echo $child->getName() . ": " . $child . "<br />";
}
?>