RE: [PHP] form variables
| From: | Martin Towell | Date: | Tue, 05 Mar 2002 02:08:32 +0000 |
| Subject: | RE: [PHP] form variables | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-87207@lists.php.net to get a copy of this message | ||
change "post" to "get"
-----Original Message-----
From: Dan Vande More [mailto:dvm@gwtr.com]
Sent: Tuesday, March 05, 2002 12:48 PM
To: php-general-list
Subject: RE: [PHP] form variables
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:westerman@chanuteks.com]
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 ><>
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/
-----------------------------------------------------------------------
--
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