easyadmin July 8, 2014 at 14:01 / #11641 1 if(isset($_POST['today'])) $time .= "OR CURDATE() = departure"; Regards