another way to do this is (quicker, using only one query): $delete_IDs = implode(",",$name_array); $sql = "DELETE FROM $mysql_table WHERE id IN ($delete_IDs)"; mysql_query($sql);
or you could delete the first line (implode) and take the square brackets out of the name of the form field. this will make a comma-delimited string of all your selected ID numbers, and will be available in $name_array your choice adam -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php