Re: [PHP] if(isset($submit))

2002-02-28 Thread Adrian Murphy
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

Re: [PHP] if(isset($submit))

2002-02-28 Thread Simon Willison
jtjohnston wrote: >I can't get this to work: >if(isset($submit)) > >with: > >src=\"next.gif\" border=\"0\" align=\"ABSCENTER\"> > >I'm not coding correctly? > If you are testing for $submit a work around is to have a hidden field in your form that looks like this: That way any tests for $subm

Re: [PHP] if(isset($submit))

2002-02-27 Thread jtjohnston
Over kill? Martin Towell wrote: > or have a hidden field, maybe, called "submit" > > -Original Message- > From: jtjohnston [mailto:[EMAIL PROTECTED]] > Sent: Thursday, February 28, 2002 4:33 PM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] if(isse

Re: [PHP] if(isset($submit))

2002-02-27 Thread Richard Baskett
Feb 2002 00:31:28 -0500 > To: [EMAIL PROTECTED] > Subject: Re: [PHP] if(isset($submit)) > > Nope, not following. > :) > More particularily why will isset accept type=submit and not type=image ? > > Martin Towell wrote: > >> I used this code >> >> &g

RE: [PHP] if(isset($submit))

2002-02-27 Thread Martin Towell
or have a hidden field, maybe, called "submit" -Original Message- From: jtjohnston [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 28, 2002 4:33 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] if(isset($submit)) So I can forget using type="image" :( Wa

Re: [PHP] if(isset($submit))

2002-02-27 Thread jtjohnston
So I can forget using type="image" :( Wah, it's not fair! :) J Martin Towell wrote: > I used this code > > > value="submit"> > > > 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 $

Re: [PHP] if(isset($submit))

2002-02-27 Thread jtjohnston
Nope, not following. :) More particularily why will isset accept type=submit and not type=image ? Martin Towell wrote: > I used this code > > > value="submit"> > > > 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 g

Re: [PHP] if(isset($submit))

2002-02-27 Thread Richard Baskett
<[EMAIL PROTECTED]> > Organization: FLSH, Université de Sherbrooke > Reply-To: [EMAIL PROTECTED] > Date: Thu, 28 Feb 2002 00:28:09 -0500 > To: [EMAIL PROTECTED] > Subject: Re: [PHP] if(isset($submit)) > > I s'pose, but where/why are you getting submit.x=118&s

RE: [PHP] if(isset($submit))

2002-02-27 Thread Martin Towell
it's a browser thing, i guess, when you use an image as a submit button Martin -Original Message- From: jtjohnston [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 28, 2002 4:28 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] if(isset($submit)) I s'pose, but where/why are y

Re: [PHP] if(isset($submit))

2002-02-27 Thread jtjohnston
I s'pose, but where/why are you getting submit.x=118&submit.y=20 Martin Towell wrote: > I used this code > > > value="submit"> > > > 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_

RE: [PHP] if(isset($submit))

2002-02-27 Thread Martin Towell
I used this code 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: