Re: form variables
| From: | Tom Rogers | Date: | Tue, 05 Mar 2002 02:07:18 +0000 |
| Subject: | Re: form variables | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-87206@lists.php.net to get a copy of this message | ||
hi
Use <form action="quotestest.php" method="get">
This will work as long as the form is not too big
Tom
At 11:14 AM 5/03/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? Thanks Craig ><> westerman@chanuteks.com