I hope this code can help u if(isset($_POST['submit'])&& isset($_POST['records'])) { foreach($_POST['records'] as $key=>$val) { $DeleteQuery='Delete from my_table_name where recordids='.$val; // you'r delete query come here $delresult=mysql_query($DeleteQuery); // fire this query } } --- In php-objects@xxxxxxxxxxxxxxx, nirgun jeet <nirgun_sweet@...> wrote: > > kindly mail me the code i still have some problems in check boxes to delete messages > i shall be very thankful to you if u can help me > > > Cricket on your mind? Visit the ultimate cricket website. Enter http://cricket.yahoo.com > > [Non-text portions of this message have been removed] >