Hi,
I have the following recordset that outputs a list of values from a recordset long with a checkbox next to each one as follows:
fieldaValue1 fieldbValue1 checkbox1
fieldaValue2 fieldbValue2 checkbox2
and so on....
the code I have is this:
?php echo $row_Recordset1['PDF_KEY_PRODUCT'];
$i = 1 + $varincrement;
$varincrement = $i++;
?>
</td>
<td width="150"><?php echo $row_Recordset1['PDF_LONG_DESCRIPTION']; ?></td>
<td width="50"> </td>
<td width="50"><?php echo $row_Recordset1['PDF_SELLING_PRICE']; ?></td>
<td width="50"><input name="textfield" type="text" size="5"></td>
<td width="50"><?php echo "<input type=\"checkbox\" name=\"checkbox$varincrement\" value=\"checkbox\"></td>";?>
</tr>
<?php } while ($row_Recordset1 = mysql_fetch_assoc($Recordset1)); ?>
I use an increment operator to produce new names for each checkbox in the recordset,
My problem is this: I want to let the user click on different checkboxes and then submit only the values rows where a checkbox is checked to another script,
does anyone have any ides how to do this??
thanks a lot