after review all the tread, i found a new way to delete multiple checkbox where you can use it to delete multiple selection like in hotmail, yahoo! mail... etc.
the code like this.
in HTML, <- the form.
<?$i=0; then do the loop?>
<input type="checkbox" name="$deleteuser[$i]" value=$value">
<?$i++;?>
in the database part.
<?
$r1 = mysql_query("SELECT * FROM test", $conn);
for($i=0; $i<mysql_num_rows($r1); $i++)
{
if($deleteuser[$i]=="") $deleteuser[$i] = "''";
$sqlstm = $sqlstm."id = $deleteuser[$i]"." OR ";
}
$sqlstm = substr($sqlstm, 0, -3);
mysql_query("DELETE FROM test WHERE $sqlstm");
?>
i think this is complete enough to delete multiple checkbox.. mail me if u have any questions