> <INPUT TYPE="CHECKBOX" NAME="DELETE[<?php echo message_id ?>]" VALUE="Y"> > > > you will get an array named DELETE. > > check for every element in array DELETE > > foreach($_POST['DELETE'] as $message_id => $val) { > if($val ==1) { You mean if($val == 'Y') ---John W. Holmes... PHP Architect - A monthly magazine for PHP Professionals. Get your copy today. http://www.phparch.com/ -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php