Warning: Undefined array key "user_id" in /home/keshavvps/public_html/keshav/KG1/solano/get_orders.php on line 4

Fatal error: Uncaught 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 21 in /home/keshavvps/public_html/keshav/KG1/solano/get_orders.php:28 Stack trace: #0 /home/keshavvps/public_html/keshav/KG1/solano/get_orders.php(28): mysqli_query(Object(mysqli), 'SELECT \r\n ...') #1 {main} thrown in /home/keshavvps/public_html/keshav/KG1/solano/get_orders.php on line 28