02.08.2014, 23:59
You can use SQL's IN() construct, but you will need to create a loop to create the query in the first place, regardless. I might also add that a numeric primary key may be better.
PHP код:
UPDATE table SET food = food - 1 WHERE name IN('Killer', 'NoKiller')