Warning: Undefined variable $userID in /home/subhani1/public_html/my_order.php on line 22

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 'ORDER BY o.id DESC' at line 1 in /home/subhani1/public_html/my_order.php:23 Stack trace: #0 /home/subhani1/public_html/my_order.php(23): mysqli->query() #1 {main} thrown in /home/subhani1/public_html/my_order.php on line 23