UPDATE data in rows

wxdqz

New Member
I am trying to update many records at once. For example:

CK RNK DATA1 DATA2 DATA3
-- --- ----- ----- -----
[x] _1_ DATA1 DATA2 DATA3
[ ] _2_ DATA1 DATA2 DATA3
[ ] _3_ DATA1 DATA2 DATA3

...

where CK [x] is a checkbox that is checked.

These records all display in a form, and I would like to be able to update all the records based on user input, and then pressing the submit button.

I have a loop that loops through the records, and updates the db, but for some reason it always blanks the fields in the loop. I don't think the right values are being passed to my update script properly. What is the best way to do this?

TIA.
 
Back
Top