您的位置:首页技术文章
文章详情页

insert.php文件运行错误,如何解决?

【字号: 日期:2022-06-10 08:28:44浏览:74作者:猪猪

问题描述

添加失败 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:

提示很明显的, 语法错误, 表名和字段名应该用反引号 , 不是单引号

相关文章: