Código PHP:
<tr>
<td width="32%"><strong>Codigo</strong></td>
<td width="30%"><strong>Producto</strong></td>
<td width="38%"><strong>Cantidad</strong></td>
<td width="38%"><strong>Select</strong></td>
</tr>
<?php
$sql3="select * FROM items where id_cat='$id_cat' AND id_subcat='$id_subcat'";
$res3=mysql_query($sql3);
while ($row3 = mysql_fetch_array($res3))
{
?>
<tr>
<td><?php echo $row3['codigo']; ?></td>
<td><?php echo $row3['nombre']; ?></td>
<td><input type="text" name="cantidad" id="cant[]" size="2" /></td>
<td><input type="checkbox" name="$row3['id'][]"></td>
</tr>
<?php
}
Código PHP:
print_r($_REQUEST);