Thanks in advance to anyone that can look at this code and tell me if I'm missing any thing. I can't get it to work.
$this->constraints .= "vehicle_reservations.start_date NOT BETWEEN '".$dates[0]."' AND '".$dates[1]."' AND
vehicle_reservations.end_date NOT BETWEEN '".$dates[0]."' AND '".$dates[1]."' AND ";
(vehicle_reservations.start_date IS NULL AND vehicle_reservations.end_date IS NULL)) AND";
Thanks,
Mh
$this->constraints .= "vehicle_reservations.start_date NOT BETWEEN '".$dates[0]."' AND '".$dates[1]."' AND
vehicle_reservations.end_date NOT BETWEEN '".$dates[0]."' AND '".$dates[1]."' AND ";
(vehicle_reservations.start_date IS NULL AND vehicle_reservations.end_date IS NULL)) AND";
Thanks,
Mh