運行我的查詢,我得到一個錯誤..我的查詢如下更新查詢
$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