Ver Mensaje Individual
  #7 (permalink)  
Antiguo 21/09/2010, 20:04
Avatar de rickyper
rickyper
 
Fecha de Ingreso: abril-2009
Mensajes: 182
Antigüedad: 15 años, 1 mes
Puntos: 10
Respuesta: listar el ultimo registro

Cita:
Iniciado por rickyper Ver Mensaje
Código MySQL:
Ver original
  1. SELECT Fecha,Entrada,Fondo,Termino FROM tutabla ORDER BY Fecha DESC Limit 1;
Cita:
Iniciado por ylellan Ver Mensaje
Código PHP:
$listar="select fecha,entrada,fondo,termino from ali order by fecha desc limit 1"
Solo capta las ideas.
__________________
www.granideamillonaria.com