How do I reverse the display of an xml in PHP? Code:
$xml = simplexml_load_file('link.xml');
foreach($xml->VERSAO as $versao) { ?>
<tr>
<td width="10%"><center> <?php echo $versao->VERTEXT ?> </center></td>
<td width="90%"><?php echo $versao->RESUMO ?> </td>
</tr>
<?php } ?>
It starts displaying from the first item to the last one, how do I print from last to first?