您的位置:首頁技術文章
文章詳情頁

insert.php文件運行錯誤,如何解決?

瀏覽:92日期:2022-06-10 08:28:44

問題描述

添加失敗 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 ''student'('name','course','grade') VALUES ('DD','html',60)' at line 1

問題解答

回答1:

提示很明顯的, 語法錯誤, 表名和字段名應該用反引號 , 不是單引號

相關文章:
国产综合久久一区二区三区