Call your checkboxes "delete[]" so that they will be passed as an array.
In the script that processes the form add this function
function getcheckboxes ($checkbox)
{
foreach($checkbox as $value) {
$values .= "," . $value;
}
$values = substr($values, 1);
return($values);
}
This function when supplied with the $delete array will return a string of comma separated values (i.e "2,7,254,32")
So to call the function do this:
$records_to_delete = getcheckboxes($delete)
Now all you need to do is run an sql query to delete all records where id in $records_to_delete
DELETE * FROM table WHERE id IN ('$records_to_delete')
replace table and id with whatever your using obviously