Within a Form I have the following script (that I have aleady had help with)
while ($row2 = mysql_fetch_array($result2))
{
extract($row2);
echo "<td>$PPqty </td>";
echo "<td>$PPdesc</td>";
echo "<td>$PPmat</td>";
echo "<td><input type='text' name='volume[$PPcode]' value='$PPqty' maxlength='10' size='10'>
<input type='checkbox' name='interest[$PPcode]' value='$PPcode'>$PPcode</td></tr>";
}
By clicking a number of the checkbox's and submiting I want to show the items that I have chosen on the next page In the format of
$PPcode $PPqty
my script is as follows
foreach ($POST[interest] as $field => $value )
{
echo "$field '$POST[volume]' ";
}
However (any way I try it I can not get the $PPqty to show. Would someone be kind enough to tell me what I am doing wrong..