Du letar efter CURDATE()
:
$db->query("SELECT * FROM events WHERE event_date >= CURDATE()");
Eller:
$db->query("SELECT * FROM events WHERE event_date >= CURRENT_DATE()");
Du letar efter CURDATE()
:
$db->query("SELECT * FROM events WHERE event_date >= CURDATE()");
Eller:
$db->query("SELECT * FROM events WHERE event_date >= CURRENT_DATE()");