I\'m trying to write a query that will check today\'s date against my table columns date1 and date2 in mysql/php.. This is what I\'m after:
\'events\' table:
Try this,
SELECT * FROM events WHERE date1<='2012-01-19' AND date2>='2012-01-18'