Hi ,
I have a page in which i have some values that i want to pass to another page.
(It's not a form , it's a page that contains calculations of total prices or total scores) .
The second page is like a template with fields to which I want to transfer the values.
So it's look like : “Your total score is” [here is the place for the passed value]
"The total prize is “ [ “ “ ]
I want to achieve this by pressing a button from the first page. How ?
passing variables between pages
Moderator: General Moderators
- jimthunderbird
- Forum Contributor
- Posts: 147
- Joined: Tue Jul 04, 2006 3:59 am
- Location: San Francisco, CA
Re: passing variables between pages
There are fundamentally 4 ways to pass info between pages:
1. cookies
2. session
3. requrest variables
4. post variables
if you want the 4th way and don't want to create a form and if the client's browser most likely support AJAX, then use a AJAX post instead of traditional form post.
1. cookies
2. session
3. requrest variables
4. post variables
if you want the 4th way and don't want to create a form and if the client's browser most likely support AJAX, then use a AJAX post instead of traditional form post.