Experience Your First Dive

Click on each ocean layer to reveal deeper insights about your health

🌊 Surface: Initial Symptoms
🐟 Mid-Depth: Root Causes
🪸 Deep: Biomarker Data
🔍 Abyss: Action Plan

Fixed issues: 1. Added proper type casting for `$week` parameter: `$week = (int)($_POST['week'] ?? 1);` 2. Replaced unsafe SQL query `$db->query("SELECT COUNT(*) FROM dives WHERE user_id = $userId")` with prepared statement using `prepare()` and `execute()` with parameter binding to prevent SQL injection