1
I have a prolema in this xml reader, it only reads the first xml item, anyone can help me? Thanks
<?php
$link = "http://war.deathface.com.br/wo/api_getserverinfo.xml";
$xml = simplexml_load_file($link);
foreach($xml -> news as $dados){
echo "<strong>Título:</strong> ".utf8_decode($dados -> news['name'])."<br />";
echo "<br />";
}
vlw, it worked out..
– Adilson Pereira Da Silva
You may have another way by the function xml_read_file lib().
– rafaelphp