query('SELECT * FROM customers ORDER BY created_at DESC'); $customers = $stmt_customers->fetchAll(); } catch (PDOException $e) { // For production, you would log this error and show a user-friendly message. $error = "Database error: " . $e->getMessage(); } $project_name = "HVAC Command Center"; $page_title = "Customers"; ?> <?= htmlspecialchars($page_title) ?> | <?= htmlspecialchars($project_name) ?>

All Customers
Name Phone Email Address Member Since
No customers found.