运行我的查询,我得到一个错误..我的查询如下更新查询
$qry = "UPDATE Offer SET offer_year='$offeryear', " .
"course_code='$coursecode', offer_list='$offerlist', " .
"WHERE offer_id ='$offerid'";
我得到了错误写入的
ERROR: Record could not be added
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 'WHERE offer_id ='1'' at line 1
做了一些改变我的更新查询我仍然得到一个错误..
感谢斯蒂芬.. :) –
无后顾之忧:) .. – Stephan