Thanks Donald,

I tried that before and this is URL returned    quotestest.php?quote=

Craig ><>

-----Original Message-----
From: Greg Donald [mailto:[EMAIL PROTECTED]]
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
>be bookmarked?
>Do I have to modify both pages or just the input form?

<form action="quotestest.php?quote=<?=$quote?>" method="post">

Greg Donald - | |

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to