// customer_report.php
include 'db_connection.php';
$sql = "SELECT id, name, email, phone FROM customers";
$result = $conn->query($sql);
?>
Customer Report
Customer Report
ID
Name
Email
Phone
Warning: Undefined variable $result in /home/yervue/public_html/CityBreweryRentals/customer_reprot.php on line 31
Warning: Attempt to read property "num_rows" on null in /home/yervue/public_html/CityBreweryRentals/customer_reprot.php on line 31
No customers found.
Warning: Undefined variable $conn in /home/yervue/public_html/CityBreweryRentals/customer_reprot.php on line 46
Fatal error: Uncaught Error: Call to a member function close() on null in /home/yervue/public_html/CityBreweryRentals/customer_reprot.php:46
Stack trace:
#0 {main}
thrown in /home/yervue/public_html/CityBreweryRentals/customer_reprot.php on line 46