Ver Mensaje Individual
  #2 (permalink)  
Antiguo 14/01/2005, 14:13
Ayalnet
Invitado
 
Mensajes: n/a
Puntos:
No le has indicado si lo ordena accendente o descendente:
Prueba esto:
$strsql="select * from predicas where substr(fecha,4,2)=".$mes. " and substr(fecha,7,4)=".$anio. " order by fecha ASC";

o Bien:
$strsql="select * from predicas where substr(fecha,4,2)=".$mes. " and substr(fecha,7,4)=".$anio. " order by fecha DESC";

Un Saludo
Espero que te sirva