Aaah, I think I see ...
You have a list of textboxes, or checkboxes, all on the same form and all with the same name.
I do believe you need to alter the names (again I'm guessing the details) of the elements on the form from something like ...
<input type="text" name="dues" value="" />
... to ...
<input type="text" name="dues[]" value="" />
The [] after the name tells PHP to create an array of 'dues' in $POST['dues'] (or $GET['dues'] depending on the form action).
Is that it?
Paul.