我試圖更新一些信息到數據庫,但由於某些原因它不更新。此外,我沒有收到服務器日誌中的錯誤。php mysql,更新查詢不起作用
mysql_query("UPDATE `view_item` SET
`item_number` = $item_number,
`title` = $title,
`price` = $price,
`shipping` = $shipping,
`location` = $location,
`start_time` = $start_time,
`end_time` = $end_time,
`seller_userName` = $seller_userName,
`seller_UserNum` = $seller_UserNum,
`number_of_bids` = $number_of_bids,
`picture_link` = $picture_link
WHERE `item_number` = $item_number");
我收到以下錯誤:
9736364是$ item_number的值。 – Michael 2010-05-21 15:48:40我擁有的查詢的歷史版本是
– Michael 2010-05-21 15:49:17