This code will send exactly two query’s to update a INT (0 or 1) checkbox field in a MySQL database.
The IN operational statement let’s you match on a list of values in a clause. The implode statement will turn the array (shown below) into a string.