Hello
The situation is...
After running an MySQL query the results are output in rows with a checkbox for each row and with the Primary Key as the value.
I am trying to find a way to list the results of all checked boxes. No matter what I do I only get the value of the last box checked.
Results of the initial query on the first page formatted as a form...
<td><input type='Checkbox' value='$n1' name='checkbox'></td><td>etc.</td>...
Using many variations of a FOR Loop on the second page (also have tried a lot of WHILE loops)...
for ($i = "0"; ; $i++) {
echo "$checkbox<br>\n";
}
(and obviously, this example takes that last value and repeats it forever).
Thank you for any help.
Richard