Forum Moderators: coopster
I have got 4 to 5 html forms with so many fields like textbox,radiobutton,checkbox,textarea etc. Can you please guide me which is the best method to store
the form values. (I don't want to use sessions.) When I go to 2nd page, the values of first page should store some where and later I should retrieve all the values and insert to the database.
Is there any other best method. How about arrays. Please help.
Babloo
If you're using MySQL and have an auto_increment id field in your target table, call mysql_insert_id() after your first INSERT, and that will return the unique record id number that was put in the auto_increment id field. From then on, that's what you'd pass from page to page in a hidden field. After each page submission, UPDATE the record with the additional information.