prepare("UPDATE notifications SET is_read = 1 WHERE user_id = ?"); $stmt->execute([$current_user_id]); } $stmt = db()->prepare("SELECT * FROM users WHERE id = ?"); $stmt->execute([$current_user_id]); $user = $stmt->fetch(); $stmt = db()->prepare("SELECT * FROM notifications WHERE user_id = ? ORDER BY created_at DESC"); $stmt->execute([$current_user_id]); $notifications = $stmt->fetchAll(); $platformName = defined('PLATFORM_NAME') ? PLATFORM_NAME : 'Gatsby'; ?> Notifications — <?= htmlspecialchars($platformName) ?>
Log Out

Notifications

No notifications yet. We'll let you know when something happens!

Find Partners