I'm still doing something wrong here
the form code now looks like this :
<input name="pr[2]" style="width:20px;" type="checkbox" value="82" />
I'm assuming that "br" is being received as an array, so in the page that receives the $_POST variables from the form i put
$numChk = count($_POST['br']);
echo "<br>".$numChk;
there are 4 checkboxes being sent but the value of $numChk is 0
I also tried
for($i=0;$i<=4;$i++){
echo "<br>".$i." = ".$_POST['br'][$i];
}
where am i going wrong ?
thanks