Мисля, че BETWEEN
би било по-сбито:
$resultEvents = mysqli_query($con,"SELECT * FROM events WHERE NOW() BETWEEN starttime AND endtime");
Мисля, че BETWEEN
би било по-сбито:
$resultEvents = mysqli_query($con,"SELECT * FROM events WHERE NOW() BETWEEN starttime AND endtime");