hey ya,

OK Say i have this form:
Code:
<form action=form.php method=post>
<input type=checkbox value=1 name=MiD><BR>
<input type=checkbox value=2 name=MiD><BR>
<input type=checkbox value=3 name=MiD><BR>
<input type=checkbox value=4 name=MiD><BR>
<input type=checkbox value=5 name=MiD><BR>
<input type=checkbox value=6 name=MiD><BR>
<input type=checkbox value=7 name=MiD><BR>
<input type=checkbox value=8 name=MiD><BR>
<input type=checkbox value=9 name=MiD><BR>
<input type=submit><BR>
</form>
how can i loop thru the values, etc, and do an echo for each value, if the chkbox is checked?

(Sorta like Yahoo! Mail does with its delete & Move ETC?)

Like, if some1 checks 1, 2, 3, 5, 6, and 9, - My PHP code, will then loop thru the checked value's, and delete a SQL Record from the MySQL Database, & Echo that the id was Deleted And so on, but for say 5, 7, and 8, nothing gets done, since they aint checked,..

: Hoping you know what i mean, and even more, how to do what i wanna do