The thing about check and option boxes is that their value is 'ON' or 'OFF' or something useful like that. The way to tell them apart from each other is to give them distinct names, rather than values.
What I normally do in this situation is append a unique code to the end of the name of every form item in the row, e.g. chk-1, name-1, notes-1. Then go through all the form items in $HTTP_POST_VARS or $_POST or whichever you use. If the form item name starts with 'chk', check its value. If it is ON or Y (can't remember right now what the value of a selected check box is), get all the other values with the same ID and do your SQL stuff. For example:
foreach($HTTP_POST_VARS as $name=>$value){
if (substr($name,1,3)=="chk"){
if ($value=="Y"){
$id=substr($name,5);
$firstname=$HTTP_POST_VARS["firstname-" . $id];
$lastname = $HTTP_POST_VARS["lastname-" . $id];
// do the sql stuff with $firstname and $lastname
}
}
}
hope this helps!
mark