That is a screenshot on how I want it to work. At the bottom of the screen where the "Do It" button is displayed. I am unsure how to make it work so when I check more then one mail I can delete it. Can anyone help?
Run a loop. <?php $total_email = 5; $delete = array(1,2,3,4,5); for ($i = 0; $i < $total_email; $i++) { sql = "delete from table where id = '" . $delete[$i] . "'"; mysql_query($sql); } ?> PHP: This should get you off on the right foot.