hi all i have a problem i guess my code is right but i dont know what im doing wrong pls helpp
i have one page lets say comiditis.php
<form id="form1" name="form1" method="post" action="comoditi2.php">
bla, bla, bla
$totalRows_Recordset1 = mysql_num_rows($Recordset1);
$comodi=$row_Recordset1['nm'];
$arr = explode(",", $comodi);
$i=0;
foreach ($arr as &$value) {
//$value = $value * 2;
// echo $arr[$i]."<br />\n";
$aidi=$arr[$i];
?>
<label>
<input name="comoditis" type="checkbox" id="<?php echo $i;?> " value="check" />
<?php echo $aidi;
?> </label>
<?php
$i++;
}
?>
***********************************************************
comiditi2.php
<?php
// $ai=$_POST['comoditis']; <<<---- heres my problem!!!
// echo $ai;
?>
HOW I KNOW WHAT CHECKBOXES ARE CHECKED??? i cant even print the values of the array??? whatv im doing wrong?? tnx in advance