I have attached a file for the code of the page I am questioning. If it helps the process goes something like this. I go to the add main product then get redirected to the first page that adds the first set of options which redirects to a page that displays the main product info and all the options. From that page there is a link that directs you to the attached page to insert another set of options. This is the step that does not work.
I know this is a long way around but if I could get the first option insert to allow me to add products to the database after the first insert I would rather stop all the redirects there and just continue adding additional options from there. If I can make this page attached work correctly I can substitute it for the first redirect with no problems.
Much appreciate any advice. Thanks