printing variables in a text box

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
profesher
Forum Newbie
Posts: 2
Joined: Tue Feb 04, 2003 11:06 pm
Location: Quito-Ecuador

printing variables in a text box

Post 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
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

you might ship all previously entered values as hidden fields, store them in cookies or use sessions.
Post Reply