Page 1 of 1

printing variables in a text box

Posted: Thu Feb 06, 2003 10:56 pm
by profesher
Hello there, :)

Can anyone tell me if it's possible in PHP to store the variables from multiples forms in differents pages and then printing the entire thing (all the variables stored) in one text box located in a form of another page ?

Here's an illustration of what I'm trying to do:

ForminDoc 1[varX]------>---|
ForminDoc 2[varY]------>---|
ForminDoc 3[varZ]------>---|----->----- Store the vars temporarly ----->---ForminDocX { TextBox [X,Y,Z,...,A] }
ForminDoc ...[var...]----->---|
ForminDoc 20[varA]----->---|




I want the variables to be temporarly stored because a user in my site should be able to write a var in ForminDoc 1, then goto ForminDoc7 (for example) and write another var there and so on and then finaly goto ForminDocX and have the textbox already filled out with the vars he wrote on the previous Forms.

Please help,
thanks a lot

Posted: Thu Feb 06, 2003 11:51 pm
by volka
you might ship all previously entered values as hidden fields, store them in cookies or use sessions.