RE: [PHP] form variables
| From: | Craig Westerman | Date: | Tue, 05 Mar 2002 01:26:54 +0000 |
| Subject: | RE: [PHP] form variables | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-87204@lists.php.net to get a copy of this message | ||
Thanks Donald,
I tried that before and this is URL returned quotestest.php?quote=
Craig ><>
westerman@chanuteks.com
-----Original Message-----
From: Greg Donald [mailto:greg@destiney.com]
Sent: Monday, March 04, 2002 7:17 PM
To: Craig Westerman
Cc: php-general-list
Subject: Re: [PHP] form variables
On Mon, 4 Mar 2002, Craig Westerman wrote:
> <form action="quotestest.php" method="post">
>
><input type=text name="quote" maxlength=10 size=10>
><input type=submit name="submitquote" VALUE="Get Quote">
>
> </form>
>
>
>The above form passes $quote to the page quotestest.php
>How can I also pass the $quote to the URL so that the page with variable
can
>be bookmarked?
>
>Do I have to modify both pages or just the input form?
<form action="quotestest.php?quote=<?=$quote?>" method="post">
--
-----------------------------------------------------------------------
Greg Donald - http://destiney.com/
http://phprated.com/ | http://phplinks.org/ | http://phptopsites.com/
-----------------------------------------------------------------------