prepare("SELECT * FROM sessions WHERE id = ?"); $stmt->execute([$session_id]); $session = $stmt->fetch(); if (!$session) { header("Location: index.php"); exit(); } $page_url = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on' ? "https" : "http") . "://" . $_SERVER['HTTP_HOST']; $join_url = $page_url . '/join.php?code=' . $session['session_code']; ?> SyncUp Session

Scan to Join Session

QR Code to join session

Or enter the code: