select * from order 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' at line 1 in D:\apache3\apache3\Apache24\htdocs\baoxian\find_order.php:8 Stack trace: #0 D:\apache3\apache3\Apache24\htdocs\baoxian\find_order.php(8): mysqli_query(Object(mysqli), 'select * from o...') #1 {main} thrown in D:\apache3\apache3\Apache24\htdocs\baoxian\find_order.php on line 8
时间: 2023-06-02 12:05:32 浏览: 191
这是一条 SQL 查询语句,意思是从 "order" 表中选取所有行和列。但出现了错误,提示语句中给出了具体的错误信息和发生错误的位置。提示信息说 SQL 语法有错,建议参考 MySQL 服务器版本对应的手册,检查语法正确性。可能是因为 "order" 是 SQL 保留字,需要用反引号或者改变表名。
阅读全文