You could do something like this assuming your connection is already established:
while($x = each($_post['list'])) {
$query = "DELETE FROM send WHERE id = '$x[1]' ";
$run = mysql($query);
}
or make a list and do a delete using IN
while($x = each($edit_id))
{
$id_list = $id_list . " '" . $x[1] . "',";
}
//remove the ending comma
$id_list = substr("$id_list", 0, -1);
$query = "DELETE from send WHERE id IN ($id_list)";
Just off the top of my head so check it for errors
rinjani