Re: Submit button as image?
| From: | Neil Robst | Date: | Fri, 19 May 2000 11:28:25 +0000 |
| Subject: | Re: Submit button as image? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-188@lists.php.net to get a copy of this message | ||
How would I do that? I want to have a form with several submit images
and then be able to detect which image the user clicked. How would a
hidden button help in this case?
"Rafael Ernesto Bastidas L." wrote:
>
> why dont you use a hidden button to do the thing you want?
>
> Rafael
>
> -----Original Message-----
> From: neil@wd3.com [mailto:neil@wd3.com]On Behalf Of Neil Robst
> Sent: Friday, May 19, 2000 7:03 AM
> To: Liz Kimber
> Cc: php-general@lists.php.net
> Subject: Re: [PHP-GENERAL] Submit button as image?
>
> I guessed why the x and y variables were created and realised that they
> did give co-ordinates on the image to where you clicked. But if I need
> that info I would just use an image map. I just find it a little
> annoying that the 'original' image name isn't exported as a variable.
>
> Cheers,
> Neil
>
> Liz Kimber wrote:
> >
> > The x+y are to tell you where about on the picture you clicked.. Much
> like
> > a map so no, I dont think you can.
> >
> > > -----Original Message-----
> > > From: neil@xcalibur.co.uk [mailto:neil@xcalibur.co.uk]On Behalf Of Neil
> > > Robst
> > > Sent: Friday, May 19, 2000 11:57
> > > To: php-general@lists.php.net
> > > Subject: [PHP-GENERAL] Submit button as image?
> > >
> > >
> > > Hi.
> > >
> > > When you create a form with a submit image instead of a button,
> why
> > > does it create variables with the name of the image and "_x" and
> > > "_y"
> > > appended to the end rather than just the image name? And is there anyway
> > > to override this behaviour so that when you click on an image defined as
> > > a form submit button, you just get back a variable with the name of the
> > > image.
> > >
> > > Neil
> > > --
> > > Neil Robst (neil@empics.co.uk)
> > > EMPICS Sports Photo Agency
> > > >> Please note change of Address <<
> > > Pavilion House
> > > 16 Castle Boulevard
> > > Nottingham, NG7 1FL
> > > Direct Line: +44 (0)115 844 7413
> > > Fax: +44 (0)115 844 7457
> > > Web: http://www.empics.co.uk
> > > PGP key: http://www.empics.co.uk/pgpkeys/NRobst.pgp
> > >
> > > --
> > > PHP General Mailing List (http://www.php.net/)
> > > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> > > For additional commands, e-mail: php-general-help@lists.php.net
> > > To contact the list administrators, e-mail: php-list-admin@lists.php.net
> > >
>
> --
> Neil Robst (neil@empics.co.uk)
> EMPICS Sports Photo Agency
> >> Please note change of Address <<
> Pavilion House
> 16 Castle Boulevard
> Nottingham, NG7 1FL
> Direct Line: +44 (0)115 844 7413
> Fax: +44 (0)115 844 7457
> Web: http://www.empics.co.uk
> PGP key: http://www.empics.co.uk/pgpkeys/NRobst.pgp
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
--
Neil Robst (neil@empics.co.uk)
EMPICS Sports Photo Agency
>> Please note change of Address <<
Pavilion House
16 Castle Boulevard
Nottingham, NG7 1FL
Direct Line: +44 (0)115 844 7413
Fax: +44 (0)115 844 7457
Web: http://www.empics.co.uk
PGP key: http://www.empics.co.uk/pgpkeys/NRobst.pgp