Is it at all possible to do something along the lines of:
$today = date('Y-m-d');
$today_D = date('l');
$query = "(SELECT DAYNAME(start_date) AS dow, DATE_FORMAT(start_date, '%Y-%m-%d'), DATE_FORMAT(end_date, '%Y-%m-%d'), title, city, state, country, url, DATE_FORMAT(added, '%Y-%m-%d')
FROM table
WHERE end_date >= '$today' AND dow = '$today_D'
GROUP BY state)
ORDER BY state, city";
I get an error with it. But basically I'm trying to select an event that is only occurring today by using the start date as that day.