Code: Select all
while($row = mysql_fetch_array($deposits)){
print("<div class=depositslip>");
print("<INPUT TYPE=checkbox NAME=\"doInclude[]\" CHECKED>");
print("<INPUT TYPE=hidden NAME=\"amount[]\" value=\"$row[0]\">");
...Array ( [0] => on [1] => on )
regardless of the rows that are checked, which is pretty useless.
The items are not in a table. The use of this method for returning arrays of variables from a form was suggested earlier in this forum and has proven usefull, but this has me stuck.
Any thoughts?
Rob