prepare($sql); if ($category_filter !== 'all') { $stmt->bindParam(':category', $category_filter); } $stmt->execute(); $tours = $stmt->fetchAll(); } catch (PDOException $e) { echo 'Failed to fetch tours: ' . $e->getMessage(); $tours = []; } ?>

No tours found for this category.