$goal, 'skill_level' => $skill_level, 'interests' => $interests ]; $profile_json = json_encode($profile_data); try { $pdo = db(); $stmt = $pdo->prepare("UPDATE users SET profile = ? WHERE id = ?"); if ($stmt->execute([$profile_json, $user_id])) { $_SESSION['success_message'] = "Thank you! Your personalized recommendations are ready."; header("Location: dashboard.php"); exit; } else { $errors[] = "Failed to save your preferences. Please try again."; } } catch (PDOException $e) { $errors[] = "Database error: " . $e->getMessage(); } } } ?> Personalization Quiz - SunSkills

Tell Us About Yourself

Help us tailor your learning experience.

1. What is your primary goal?

2. What is your current skill level in your area of interest?

3. Which topics are you most interested in?