prepare("SELECT c.*, b.name as branch_name, b.address as branch_address, b.phone as branch_phone FROM cars c LEFT JOIN branches b ON c.branch_id = b.id WHERE c.id = ?"); $stmt->execute([$id]); $car = $stmt->fetch(); } catch (Exception $e) { // Log error if needed } if (!$car) { echo "

Car not found

The vehicle you are looking for does not exist or has been removed.

Browse Inventory
"; require_once __DIR__ . '/includes/footer.php'; exit; } ?>
FEATURED <?= htmlspecialchars($car['brand']) ?>

$

Vehicle Specifications

Mileage
km
Transmission
Fuel Type
VIN
Location

Installment Plan

Flexible financing options available for this vehicle.

Est. $ / month (60 months)
Request to Buy Apply for Installment

* Price excludes tax and registration fees. Contact us for final pricing.