Ver Mensaje Individual
  #16 (permalink)  
Antiguo 27/12/2010, 20:03
walterdevel
 
Fecha de Ingreso: diciembre-2010
Mensajes: 788
Antigüedad: 13 años, 4 meses
Puntos: 51
Respuesta: Por que no funciona con BETWEEN

A ver si queda:

$consulta_posicion = "SELECT * FROM calendario WHERE Nnoticia = ".$_SESSION['Nnoticia']." AND fecha_inicio <= '".$_POST['fecha_inicio']."' AND fecha_fin >='".$_POST['fecha_final']."'";