| | | | |
mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 in /home/.sites/site12/wwwroot/.shop/global.php:467
Stack trace:
#0 /home/.sites/site12/wwwroot/.shop/global.php(467): mysqli_query(Object(mysqli), 'SELECT CONCAT(f...')
#1 /home/.sites/site12/wwwroot/.shop/previous_orders.php(302): mysql_query_('SELECT CONCAT(f...', NULL)
#2 /home/.sites/site12/wwwroot/.shop/previous_orders.php(326): PreviousOrders->get_data('SELECT')
#3 /home/.sites/site12/wwwroot/.shop/previous_orders.php(352): PreviousOrders->get_username()
#4 {main} SELECT CONCAT(firstname,' ',surname) AS username from customer WHERE is_deleted='N' and id = You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 -- Previous Orders | | OrderID | Order date | Total # of Items | Total Price | | |
| |