文章详情页
insert.php文件运行错误,如何解决?
问题描述
添加失败 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:提示很明显的, 语法错误, 表名和字段名应该用反引号 , 不是单引号
相关文章:
1. java报错Communications link failure 该如何解决?2. python3.x - mongodb 显示不出中文,都是方块,该如何解决?3. linux - 【已解决】fabric部署的Python项目Apache启动之后提示403Forbidden该如何解决?4. 网页爬虫 - python爬虫用BeautifulSoup爬取<s>元素并写入字典,但某些div下没有这一元素,导致自动写入下一条,如何解决?5. eclipse - sts java项目上有×号,内部没有如何解决?6. 用Python调用api之后,没有输出该如何解决?7. utf-8 - python在windows命令行下生成文件乱码问题,如何解决?8. node.js - windows下安装webpack时出现路径问题如何解决?9. javascript - Ajax加载Json时,移动端页面向左上角缩小一截儿,加载完成后才正常显示,这该如何解决?10. python - nginx+uwsgi启动提示 nginx: [emerg] unknown directive "socket"?如何解决?
排行榜