Myslím, že BETWEEN
by bylo stručnější:
$resultEvents = mysqli_query($con,"SELECT * FROM events WHERE NOW() BETWEEN starttime AND endtime");
Myslím, že BETWEEN
by bylo stručnější:
$resultEvents = mysqli_query($con,"SELECT * FROM events WHERE NOW() BETWEEN starttime AND endtime");