登陆

数据库无法插入,求解答,谢谢

<?phprequire 'connect.php';

$sql="INSERT INTO 'student'('name','course','grade') VALUES ('jj','value','88')";

--------------------------------------------------------------------------------------------

网页提示:< style="color: rgb(0, 0, 0); font-family: "Microsoft YaHei"; white-space: normal;">链接成功添加失败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 ('jj','value','88')' at line 1

# MySQL
兜里有糖兜里有糖254 天前264 次浏览

全部回复(1)我要回复

  • .

    .2020-05-18 09:08:49

    sql语法错误

    回复
    0
  • 取消回复发送