...

View Full Version : variables: transport, display and sent.



wiert
07-30-2002, 11:17 AM
i need a simple script to save my input on a page. I also want to print it on the nect page and finally restore it on the third page. It should look something like:

page 1: question 1
page 2: You ga x as answer on question 1
question 2
page 3: you gave x as answer on questoin 1
you gave y as answer on question 2
question 3
page 4: you gave ....
you gave .....
you gave .....
submit

I tried it on different ways but every time or the data isnt saved or it can be restored or it cant be sent finally. Can someone help me with this??

Thanx

x_goose_x
07-30-2002, 03:46 PM
You could always pass variables from page to page, but after a few questions your page location would get long:

http://www.htmlgoodies.com/beyond/jspass.html

I'd suggest simplifying it like q1=b,q2=d,q3=a so not too much info is being passed back and forth.

another option would be to use cookies. Search on google, you'll find plenty of tutorials.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum