Re: help on PHP from
| From: | Richard Baskett | Date: | Wed, 23 Jan 2002 21:16:08 +0000 |
| Subject: | Re: help on PHP from | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-81761@lists.php.net to get a copy of this message | ||
You'll see all the variables if you post the form using GET instead of POST,
but using POST it automatically sends those variables to the target page and
you can access them directly using their same names.
For example on your form you have a variable called $Name and it posts to
form2.php
you could echo the $Name variable on the form2.php page, by
<?=$Name?>
this will show you that your variable was passed.
Hope it helps!
Rick
When one door closes, another opens; but we often look so long and so
regretfully upon the closed door that we do not see the one which has opened
for us. - Alexander Graham Bell
> From: Wee Chua <Chua@mail.interclean.com>
> Date: Wed, 23 Jan 2002 16:01:47 -0500
> To: "PHP (E-mail)" <php-general@lists.php.net>
> Subject: [PHP] help on PHP from
>
> Hi all,
> How can I get the whole string after submitting with Form? I don't see any
> variables and valuables in the address bar of the browser unless I manually
> create the link with ? and & in form action column. Please help and explain.
>
> thanks,
> Wee
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>