Reply To: Export "What happen today" xls

Unfortunately this code exporting older reservations until today date. I tested “=” instead of “>” but export nothing. When I test “<=" so export today and future arrivals and departures.

Now I have if(isset($_POST['today'])) $time .= "OR CURDATE() <= arrival OR CURDATE() <= departure";
I need export just today arrivals and departures.
Thank you for your help and time.