Basically, need the SQL to run something like:
SELECT * FROM `eventtable` WHERE ((`date` >= "2013-09-05") OR (`dateTo` >= "2013-09-05")) AND ((`time` >= '16:51') OR (`time` = ' '))
Got it as far as:
[05-Sep-2013 16:02:39 UTC] AND ((date >= "2013-09-05 00:00:00") OR (dateTo >= "2013-09-05 00:00:00")) AND (time >= '17:02') OR (time = ' ')
Obviously not quite there!
Is there one of wada_search.php's functions that do this for me?