Re: scope of variables
| From: | James Atkinson | Date: | Tue, 11 Jul 2000 19:54:29 +0000 |
| Subject: | Re: scope of variables | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-5995@lists.php.net to get a copy of this message | ||
On Tue, 11 Jul 2000, B. Keith Murphy wrote:
>Is there a good way to pass variables between multiple pages?? Specifically,
>I have one page with several variables on it that I need on a second page that
>called by a submit button on a form. Any suggestions??
>
> Keith
Well, you pass them as hidden inputs in your form
<INPUT TYPE="HIDDEN" VALUE="<?=$variable?>">
Thats what I do..
--
- James Atkinson
'Today is an illusion, it is but an echo of yesterday and a shadow on tommorow'
http://www.totalgeek.org