Ver Mensaje Individual
  #15 (permalink)  
Antiguo 17/06/2010, 04:10
Vallu
 
Fecha de Ingreso: marzo-2010
Ubicación: Barcelona
Mensajes: 657
Antigüedad: 14 años, 1 mes
Puntos: 26
Respuesta: Obtener el penúltimo registro de una BBDD

Código PHP:
$pruebamoviles='SELECT count(*) as total FROM registro_sucesos2 WHERE movil='$movil;
    
$ejecucion=mysql_query($pruebamoviles,$conexion);
    
    while (
$registro5 mysql_fetch_array($ejecucion)) 
    { 
    
$moviles=$registro5['total']; 
    }