Ver Mensaje Individual
  #2 (permalink)  
Antiguo 01/07/2004, 00:40
Avatar de living
living
 
Fecha de Ingreso: mayo-2004
Mensajes: 1.266
Antigüedad: 19 años, 11 meses
Puntos: 2
Puedes probar esto
Código PHP:
$sql="select * from tabla where TO_DAYS(fecha) > TO_DAYS(CONCAT_WS('/',RIGHT($fecha1,4),SUBSTRING($fecha1,4,2),LEFT($fecha1,2))) AND TO_DAYS(fecha) < TO_DAYS(CONCAT_WS('/',RIGHT($fecha2,4),SUBSTRING($fecha2,4,2),LEFT($fecha2,2)))"
__________________
¿Te apasiona el mundo del guión? El portal del guión