I originally was satisfied with the following in order to update row 1 and row 2 to the same value (status=1)
if ($_POST){ $sql =\"UPDATE table SET status =
If yow want the status to be equal to the id, do this (single query):
status
id
UPDATE table SET status=id WHERE id IN (1,2,3);
Of course you can use some math, like:
UPDATE table SET status=(id+1)*2 WHERE id IN (1,2,3);