![]() Topic awaiting preservation: Passing variables from a form to another html page (Page 1 of 1) |
|
---|---|
Nervous Wreck (II) Inmate From: |
![]() I am trying to pass variables submitted by form onto another html page where i can echo it out just to see if it is working. the trouble is when i echo it out on the next page i get nothing. it seems liket he variables isnt storing. my code is: |
Paranoid (IV) Inmate From: A graveyard of dreams |
![]() To access the variable on the second page you need to use $_POST['name'], instead of just $name. |
Nervous Wreck (II) Inmate From: |
![]() thanks for the help but i also figured out what the problem was. if any one is intrested i had to Check the php.ini file and see if register_globals = On that fixed the problem. thanx Veneficuz for your help as well |
Maniac (V) Mad Scientist From: Rochester, New York, USA |
![]() Don't do that! |
Nervous Wreck (II) Inmate From: |
![]() okay yea i was thinking the same things but im just doing it for the purpose of this tutorial i will change it back...thank you |
Paranoid (IV) Inmate From: 127.0.0.1 |
![]() From my blog: |
Nervous Wreck (II) Inmate From: |
![]() i looked at the page (above) but what would i do with the hidden inputs how does that help me pass things from one page to another. and what is the advantages of doing it this way |
Bipolar (III) Inmate From: Australia |
![]() Hidden inputs are merely inputs that are... hidden |