prepare('SELECT * FROM survey_results WHERE user_id = :user_id ORDER BY created_at DESC'); $stmt->execute([':user_id' => $user_id]); $results = $stmt->fetchAll(); } catch (PDOException $e) { // handle error } ?>

Your Past Results

You have no past survey results.

$result): ?>

Overall Summary

Score Breakdown
Recommendations
$rec): ?>

Next Steps