How to update multiple MySQL table entries with different id?

You can use IN to check in a list

UPDATE user SET point="$_POST[point]" WHERE id in (<list of ids>);

Leave a Comment