我想用相同的状态更新多个项目I。我知道这在mysql_query中是不可能实现的,但是我想不出一种方法来实现这个目标。$upd = "UPDATE booking SET status='$status' WHERE itemID='$itemID', '$itemID2'";注意:项目in是由用户在prev页
我需要更新一列,并根据旧值,更新第二列。 1 | | 1 | 1 | 1 | 1 | 1 |UPDATE table t1, table t2 SETmysql手册指出:
The second assignment in the following statement sets col2 to the current (update