PDA

View Full Version : Is there a way to pass variables from one page to another?



l3vi
Jan 30th, 2003, 10:43 PM
Thanx! I got the answer to my question, if u want to see my original question, its right down there ↓



I do not have a PHP enabled server so I cant use PHP or CGI or any of that. But Ive seen this done before with HTML. I am trying to make a form that lets people view a personalized thank you note based on what they said, but how would I do that? I want to do it with two pages, not one.

japangreg
Jan 30th, 2003, 11:00 PM
Yup. :)

Just use a form with POST to the next page and the info they enter will be in the address line.

Query the address and parse out the info.

Set the info equal to a var and use it in your page.

Spookster
Jan 30th, 2003, 11:04 PM
http://www.javascriptkit.com/javatutors/send1.shtml

l3vi
Jan 30th, 2003, 11:18 PM
Okie Dokie! Thanx guys! ;) Ill try both. I think the tutorial page was what I saw last time. I just couldnt remember it.:thumbsup: