eventsDb.php - finished