Vous recherchez CURDATE()
:
$db->query("SELECT * FROM events WHERE event_date >= CURDATE()");
Ou :
$db->query("SELECT * FROM events WHERE event_date >= CURRENT_DATE()");
Vous recherchez CURDATE()
:
$db->query("SELECT * FROM events WHERE event_date >= CURDATE()");
Ou :
$db->query("SELECT * FROM events WHERE event_date >= CURRENT_DATE()");