prepare("SELECT * FROM events WHERE id = ? AND status = ? LIMIT 1"); $stmt->execute([$event_id, 'active']); $event = $stmt->fetch(); } if (!$event) { header('Location: upcoming-event.php'); exit; } include 'header.php'; include 'navbar.php'; ?>

Event Participation Form

Date & Time:

Location:

Event Details
Event Image