prepare("SELECT * FROM saved_suggestions WHERE id = ?"); $stmt->execute([$_GET['id']]); $single_suggestion = $stmt->fetch(); } $stmt = $pdo->query("SELECT * FROM saved_suggestions ORDER BY created_at DESC"); $suggestions = $stmt->fetchAll(); ?> Saved Suggestions

Home
<?php echo htmlspecialchars($single_suggestion['title']); ?>

Itinerary
  • Day :

You haven't saved any suggestions yet.

Find a new adventure
$suggestion): ?>
<?php echo htmlspecialchars($suggestion['title']); ?>

Itinerary
  • Day :