I need to put the last result in a different format. like in a mysql table, for example.
<a class="registro">Valor 1</a>
<a class="registro">Valor 2</a>
<a id="ultimoregistro" class="registro">Valor 3</a>
I would like to sort the last record with a different formatting than the rest in PHP, how do I?.