while($row = mysql_fetch_array($result)){
echo '<tr>';
echo ' <td><input name="types[]" type="checkbox" value="' . $row['type'] . '" /></td>';
echo ' <td>' . $row['type'] . '</td>';
echo ' <td><input size="3" type="text" name="quantities[]" id="TBox-' . $TBCounter . '" /></td>';
echo '</tr>';
}
it's hard to find on the internet for this solution. how do i store selected checkboxes value into types[] and quantities[]?
i would like to do a POST in php