How do I get the values for this checkbox?
<input type="checkbox" name="Item[<?php echo $IDCatalogo; ?>][<?php echo $IDItem; ?>]">
foreach( $_POST['Item'] as $key => $n ) {
print "<p>".$n." | ".$key."</p>";
}
How do I get the values for this checkbox?
<input type="checkbox" name="Item[<?php echo $IDCatalogo; ?>][<?php echo $IDItem; ?>]">
foreach( $_POST['Item'] as $key => $n ) {
print "<p>".$n." | ".$key."</p>";
}
foreach( $_POST['Item']['IDCatalogo']['IDItem'] as $key => $n ) {
print "<p>".$n." | ".$key."</p>";
}
Hope you can help.