Re: vanishing variable
| From: | Richard Lynch | Date: | Sat, 01 Sep 2001 00:26:15 +0000 |
| Subject: | Re: vanishing variable | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-65570@lists.php.net to get a copy of this message | ||
>Finally, I've got another select box which calls a new page using get (I
tried post, and it >didn't work either), and the $current_year disappears
never to be seen again. Perplexing, >no?
You almost for sure don't have <INPUT TYPE=HIDDEN NAME=current_year
VALUE=<?php echo $current_year;?>> in that last step.
Or, if you are using GET:
...=yourserver.com?current_year=<?php echo $current_year;?>...
--
WARNING richard@zend.com address is an endangered species -- Use
ceo@l-i-e.com
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm