Ver Mensaje Individual
  #2 (permalink)  
Antiguo 01/08/2007, 12:01
Avatar de GatorV
GatorV
$this->role('moderador');
 
Fecha de Ingreso: mayo-2006
Ubicación: /home/ams/
Mensajes: 38.567
Antigüedad: 20 años, 4 meses
Puntos: 2135
Re: Leer los resultados de una consulta de atras hacia adelante

Código PHP:
$regs = mysql_num_rows( $result );
for( 
$i = $regs - 1; $i >= 0; $i++ ) {
      
mysql_data_seek( $result, $i );
      
$row = mysql_fetch_row( $result );
} 
Saludos.