INSERT语句中的mySQL语法错误

时间:2013-12-23 18:55:43

标签: php mysql sql web

我收到错误:

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 'key) VALUES ('test123', 'Robert','304ce2418de993defe9b5026de389b82267465b4')' at line 1

这是我的疑问:

mysql_query("INSERT INTO apps (name, developer, key) VALUES ('$name', '$user', '$key') ")

有没有人看到这个问题?

0 个答案:

没有答案