Re: form variables
| From: | Greg Donald | Date: | Tue, 05 Mar 2002 01:17:17 +0000 |
| Subject: | Re: form variables | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-87202@lists.php.net to get a copy of this message | ||
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/
-----------------------------------------------------------------------