I'm not quite sure I understand what you're attempting, but lets say you have multiple checkboxes named:
var[]
You'll get an array returned $_POST['var'] containing all of the checked checkboxes; any checkboxes that were not checked will not be a part of the array with a null value.
So if you were holding the id corresponding to a database field as the value, you could do something such as:
$query = "DELETE FROM your_table WHERE id IN ('" . implode("','", $_POST['var']) . "')";
I'm not sure if this is helpful or not as I'm not exactly sure what you're attempting to do. If you can provide some specifics I or someone else may be able to assist further.