1
How do I invert 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, how do I print from the last to the first?
Thank you very much, that’s just what I needed.!
– lucas_doni