我不知道这有什么错我的语法做,但我失去了一些东西:错误当试图插入到MySQL表用PHP
$createrequest = mysql_query("INSERT INTO products_updates_queue (id, kid,
product_version_id, key, ip) VALUES ('$request_id', '$uid', '$version_id',
'$request_key', '$request_ip')");
我收到此错误:
"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, ip) VALUES ('j4ctveyd0x62', '1', 'z451ah3', 'hqbyu7bhg8za', '64.134.163.2' at line 2"
任何人都可以看到我缺少的东西吗?
谢谢!这解决了它!首先看到你的答案! – nitsuj 2012-03-06 20:35:16