I want to write a sql query to find the rows with dates that are still to come.
I was trying something like this:
$now_time = time();
$queryEvents = "SELECT summary, startdate
FROM c7_events AND startdate > $now_time
WHERE users_id = $users_id";
but this is not working because the startdate in table has data like: 2010-01-22 11:49:55
I don't care about the time, just the date. But if time can be done easily too, that would be great.