prepare("UPDATE users SET is_active = 1 WHERE id = ?"); if ($stmt->execute([$user_id])) { // Activation successful unset($_SESSION['user_id_for_activation']); session_destroy(); // Clean up session // Redirect to login with a success message header('Location: login.php?status=activated'); exit; } else { $error = "Failed to activate your account. Please contact support."; } } catch (PDOException $e) { $error = "Database error: " . $e->getMessage(); } } } ?> Activate Your Account - Haki Schedule

One More Step!

Your account has been created, but you need to activate it to get access to the application.

Basic Plan

$10/month

Full access for one school administrator.

For now, clicking 'Activate' will simulate a successful payment. In a real application, you would be redirected to a payment processor.