Passing values from one form to several forms
Posted: Thu Mar 06, 2003 8:05 pm
First, let me say I'm a PHP newbie but I'm learning to love using.
Second, here's the situation.
On Form 1 the user fills in the fields. On Submit, the user is sent to Form 2. This form uses a function to grab the $_POST vars and display it on the form so the user can see a confirmation page. I want the user to be able to click on a button on Form 2 to actually save the record. The problem is, I don't know how to store those $_Post vars in Form 2 other than using hidden fields (which I prefer not to do).
So...how do I "store" those $_Post vars in Form 2 so I can use them again when the user does a Submit from Form 2? I want to send those vars to a function to save the record.
TIA for your help.
Jeff
Second, here's the situation.
On Form 1 the user fills in the fields. On Submit, the user is sent to Form 2. This form uses a function to grab the $_POST vars and display it on the form so the user can see a confirmation page. I want the user to be able to click on a button on Form 2 to actually save the record. The problem is, I don't know how to store those $_Post vars in Form 2 other than using hidden fields (which I prefer not to do).
So...how do I "store" those $_Post vars in Form 2 so I can use them again when the user does a Submit from Form 2? I want to send those vars to a function to save the record.
TIA for your help.
Jeff