Customer List

setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); $stmt = $db->prepare("SELECT * FROM customers ORDER BY regDate DESC"); $stmt->execute(); $content = $stmt->fetchAll(PDO::FETCH_ASSOC); $customerSerial = 1; // Moved outside loop foreach ($content as $customer) { ?> '; } ?>
Sl No Name Mobile Email Action
Edit Bill Billing Info
Error: ' . $e->getMessage() . '