Търсите CURDATE()
:
$db->query("SELECT * FROM events WHERE event_date >= CURDATE()");
Или:
$db->query("SELECT * FROM events WHERE event_date >= CURRENT_DATE()");
Търсите CURDATE()
:
$db->query("SELECT * FROM events WHERE event_date >= CURDATE()");
Или:
$db->query("SELECT * FROM events WHERE event_date >= CURRENT_DATE()");