Re: Passing variables between PHP pages
| From: | Joseph H Blythe | Date: | Thu, 12 Oct 2000 23:03:46 +0000 |
| Subject: | Re: Passing variables between PHP pages | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-19919@lists.php.net to get a copy of this message | ||
Michael Conley wrote:
> How can I pass that same variable to pageb.php when the user
> clicks the "submit" button on pageb.php?
>
Hey,
Sounds to me like pagea.php needs to have an hidden input field with the
required variable in it, example:
<input type="hidden" name="myVar" value="<?php echo $myVar;
?>">
this would make $myVar available to pageb.php
I hope this helps,
Regards
Joseph