how can i store data in array entered in subsequent formsi w

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
bugthefixer
Forum Contributor
Posts: 118
Joined: Mon Mar 22, 2004 2:35 am

how can i store data in array entered in subsequent formsi w

Post by bugthefixer »

i have a drop down menu in each form and each form leads to another form which also has a drop down menu and in this way i have 10 form. right now i m storing each form data separately on submission of each form. Now i want to make in such a way that i store all of these form entries in an array and on the submission of last form all of this array data should be stored in database.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

if you stored all the data in the session array, this could be done. I've done it in this manor for my current major client. Each field in all the forms is unique among the pages so I just store the known names into the session after they've been validated.
Post Reply