prepare(" SELECT b.*, c.brand, c.model, c.year, c.price, c.main_image FROM bookings b JOIN cars c ON b.car_id = c.id WHERE b.user_id = ? ORDER BY b.booking_date DESC "); $stmt->execute([$user_id]); $bookings = $stmt->fetchAll(); } catch (PDOException $e) { $bookings = []; } include 'includes/header.php'; ?>
Back to Website

Welcome to your Dashboard

Manage your bookings and view your saved cars.

My Booking Requests

You haven't made any booking requests yet.

Browse Available Cars
Car Price Date Status
Car
$