I have this SQL statement and it pulls all future events. I need to get dates in this month, next month, and the next month in three seperate queries.
How would I adjust this to only show this month?
How would I adjust to only show next month?
How would I adjust to show 2 months from now?
$currentdate = date('Y-m-d');
$event_query = "SELECT * FROM php_event_events WHERE dt >= '$currentdate'";