$match_id = 123; // this is the value to be updated
$update_item_number = "(3,4,5)"; // this is the id no where the value to be updated
//update query
$orders = "UPDATE orders SET item_number='$match_id' WHERE order_id IN'".$update_item_number ."'";
mysql_query($orders);
此查詢不更新,我在這裏停留,請幫我...沒有更新multipale排在MySQL
'mysql_error'說什麼? – hsz
向'mysql_error()'添加一些調用以查看數據庫是否返回錯誤消息。 – Sirko
回顯查詢並直接在查詢瀏覽器或其他mysql編輯器中運行 –