Forum Moderators: coopster

Message Too Old, No Replies

pass var to another page

         

Keix

9:25 am on Nov 24, 2011 (gmt 0)

10+ Year Member



Hi, I have a calculator scritp which at this moment calculate on the same page using php and # (the page refreshes and jumps to a point in the page.
On every page a var is declared manually like this:
$propiedad="name_of_property";
I am trying to add hijax, so I need to point to another page in the form thats included in the page, or point to another page in the javascriptfile if I do it another way, the problem none of the ways work as I dont have the var in the result page, I been trying everything but I just cant find out how to pass the var.
Any help would be appreciated.
Thanks

g1smd

9:34 am on Nov 24, 2011 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Pick one:
- GET with Parameters
- POST
- Cookies

Keix

9:45 am on Nov 24, 2011 (gmt 0)

10+ Year Member



Please tell me how as I tried so many things and none works.
Dont know what Im doing wrong.
The one that works, suppose post is the best, but I tried that, suppose do it wrong.
Thanks

Keix

10:08 pm on Nov 24, 2011 (gmt 0)

10+ Year Member



I managed with a hidden field in the form, thanks