I know this has discussed before - but either not for my situaiton or I'm not understanding the solutions...
Anyway here it is....
I have a form that is populated from a DB, it is pulling back 3700+ records and laying them out in a grid format with a checkbox at the end of each row (3700+) checkboxes.. Ok you have the visual now. About half of these are already checked when the page is loaded due to values pulled back from the DB.
Now - I am trying to get the user to select a few checkboxes and then select update. Then it puts all of this stuff into mulitple $_POST arrays. Then lays the page back out as it looked on the previous page but with the additional check boxes checked.
That's my problem - since no value is passed when the check box is not selected the checkboxes that were checked are not in the same place as they were on the previous page. That dosen't sound right.
Example
data | data | data | +
data | data | data | +
data | data | data | +
data | data | data | +
data | data | data | -
data | data | data | -
data | data | data | -
data | data | data | +
data | data | data | +
- = Checked Check Box;
- = Unchecked Check Box;
When data is submitted over to the next page it looks like this...
data | data | data | +
data | data | data | +
data | data | data | +
data | data | data | +
data | data | data | +
data | data | data | +
data | data | data | -
data | data | data | -
data | data | data | -
Any thoughts