Use "button" element instead of "submit" like this:
<button onClick="this.form.submit()" value="Submit this form">
"Seb Frost" <[EMAIL PROTECTED]> wrote in message
> how do I prevent getting &submit=shop%21 in the url window?
> <form method="GET" action="page.php4">
>   <p>Email address: <input type="text" name="email" size="20">
>                     <input type="submit" value="Shop!" name="submit">
> </form>
> - seb

PHP General Mailing List (
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to