我不知道這有什麼錯我的語法做,但我失去了一些東西:錯誤當試圖插入到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