remove the "name" from the submit
so it's just: <input type=submit VALUE="Get Quote">

-----Original Message-----
From: Craig Westerman [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 05, 2002 1:52 PM
To: php-general-list; Tom Rogers
Subject: RE: [PHP] form variables

OK, changing from post to get gets me what I'm after. Thanks guys. Something
odd though.

If I type in RHAT and hit enter, I get this URL which is what I want.

If I type in RHAT and click submit button, I get this URL which I don't

How do I get rid of the extra    &submitquote=Get+Quote   in the URL?
Why is enter and submit acting differently?


Craig ><>

-----Original Message-----
From: Tom Rogers [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 04, 2002 8:07 PM
To: Craig Westerman; php-general-list
Subject: Re: [PHP] form variables

Use <form action="quotestest.php" method="get">
This will work as long as the form is not too big


  <form action="quotestest.php" method="post">

<input type=text name="quote" maxlength=10 size=10>
<input type=submit name="submitquote" VALUE="Get Quote">


PHP General Mailing List (
To unsubscribe, visit:

Reply via email to