just use an input type=hidden and call it submit,thats what i do
----- Original Message -----
From: "jtjohnston" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 28, 2002 5:32 AM
Subject: Re: [PHP] if(isset($submit))


> So I can forget using type="image" :(
> Waaaaaaaaah, it's not fair!
>
> :) J
>
> Martin Towell wrote:
>
> > I used this code
> >
> > <form action="/inetpub/wwwroot/top.html" method="get">
> > <input type="image" src="none.gif" width="125" height="25" name="submit"
> > value="submit">
> > </form>
> >
> > when I clicked on the image, I got this url
> >
> > file:///C:/inetpub/wwwroot/top.html?submit.x=118&submit.y=20
> >
> > so php would get this as $submit_x and $submit_y
> >
> > HTH
> > Martin
> >
> > -----Original Message-----
> > From: jtjohnston [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, February 28, 2002 4:17 PM
> > To: [EMAIL PROTECTED]
> > Subject: [PHP] if(isset($submit))
> >
> > Has anyone tried:
> >
> > <input type=\"image\"  name=\"submit\" value=\"submit\"
> > src=\"next.gif\" border=\"0\" align=\"ABSCENTER\">
> >
> > instead of :
> >
> > <input type=\"submit\" name=\"submit\" value=\">>\">
> >
> > I can't get this to work:
> > if(isset($submit))
> >
> > with:
> >
> > <input type=\"image\"  name=\"submit\" value=\"submit\"
> > src=\"next.gif\" border=\"0\" align=\"ABSCENTER\">
> >
> > I'm not coding correctly?
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
>
> --
> John Taylor-Johnston
> --------------------------------------------------------------------------
---
>
>   ' ' '   Collège de Sherbrooke:
>  ô¿ô   http://www.collegesherbrooke.qc.ca/languesmodernes/
>    -     Université de Sherbrooke:
>           http://compcanlit.ca/
>           819-569-2064
>
>


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

Reply via email to