Warning: Undefined array key "customer_id" in /home/course/u06/public_html/dev/scripts/showSummary.php on line 8

Fatal error: Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY `Date_time` DESC LIMIT 1' at line 1 in /home/course/u06/public_html/dev/scripts/utils/getOrderIdPaid.php:6 Stack trace: #0 /home/course/u06/public_html/dev/scripts/utils/getOrderIdPaid.php(6): mysqli_query() #1 /home/course/u06/public_html/dev/scripts/showSummary.php(12): getOrderIdPaid() #2 {main} thrown in /home/course/u06/public_html/dev/scripts/utils/getOrderIdPaid.php on line 6