tulasi Posted August 6, 2023 Share Posted August 6, 2023 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 'WHERE ORDERNUMBER=93' at line 1 in C:\xampp\htdocs\bsenordering\include\database.php:40 Stack trace: #0 C:\xampp\htdocs\bsenordering\include\database.php(40): mysqli_query(Object(mysqli), 'UPDATE tblorder...') #1 C:\xampp\htdocs\bsenordering\include\orders.php(107): Database->executeQuery() #2 C:\xampp\htdocs\bsenordering\admin\orders\controller.php(140): Order->pupdate('93') #3 C:\xampp\htdocs\bsenordering\admin\orders\controller.php(18): doEdit() #4 {main} thrown in C:\xampp\htdocs\bsenordering\include\database.php on line 40 Quote Link to comment https://forums.phpfreaks.com/topic/317156-fatal-error-uncaught-mysqli_sql_exception-you-have-an-error-in-your-sql-syntax/ Share on other sites More sharing options...
webdeveloper123 Posted August 6, 2023 Share Posted August 6, 2023 You have to show your code an describe your problem if you want help Quote Link to comment https://forums.phpfreaks.com/topic/317156-fatal-error-uncaught-mysqli_sql_exception-you-have-an-error-in-your-sql-syntax/#findComment-1610931 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.