Do you mean to have the extra '=' in there?
Should it be: 
<form action="quotestest.php?quote=<?$quote?>" method="post">
instead of
<form action="quotestest.php?quote=<?=$quote?>" method="post">
?
-----Original Message-----
From: Craig Westerman [mailto:[EMAIL PROTECTED]] 
Sent: Monday, March 04, 2002 6:27 PM
To: php-general-list; Greg Donald
Subject: RE: [PHP] form variables

Thanks Donald,

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

Craig ><>
[EMAIL PROTECTED]


-----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
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/
-----------------------------------------------------------------------



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to