Hey i have a question,

I am trying to figure out the best way to handle a form with many different rows. Right now what i have going on is there are some calculations done and the start/stop are determined by that. And i have a var being incremented by one in a while loop. Now this all works fine and dandy if all the id's are numerical increments of each other. But i know in the 'real' world this well not be the case. See i have the information for the form pulled from a table only where one column is a match. So the id's well not always be an increment of the previous match ( do you get what i mean?). So the way i was naming the inputs before ( having the id in the name) has to change. Or i need a better way to process what is returned by the form.