This is the story I have a form in which a user gives the name of a tournament and how many participants there will be. He clicks submit and the name of the tournament gets inserted into a database. So now with the number of participants that he supplied I need to create a table with the correct number of rows so that he can supply the names of the participants. Then he clicks submit and the participants get inserted into the participants DB with a the tournament id associated. I have the tournament getting inserted and I am grabbing the max id so I have a association but I am falling down with getting the correct number of participant rows produced and then inserting them in the DB. Any ideas? Justin