Justtechjobs.com Find a programming school near you






Online Campus Both


php-db | 2001062

RE: [PHP-DB] submitbutton/imagebutton From: Thomas (thomas <email protected>)
Date: 06/22/01

No, with an image, the value captured are the coordinates x and y above the
image this means that if your variable is called submit, the two variables
$submit_x and $submit_y are set.

----- Mensaje original -----
De: "Jan de Koster" <jandk <email protected>>
Para: <php-db <email protected>>
Enviado: vendredi 22 juin 2001 10:10
Asunto: [PHP-DB] submitbutton/imagebutton

> Hi,
>
> I'm kind of new to php so there may be an obvious answer but I can't
> find it for the moment.
>
> What I want to do is change the 'type=submit' of a submit button to
> 'type=image' so I can control the looks of the button.
>
> In pure HTML there is of course no problem, the image is still used as a
> submit button but... the submit type is being passed on to a php script
> ( ...if ($submit) {...) that makes a qeary to a mysql database. When I
> change the type=submit to type=image the script doesn't pick up the
> submit value anymore, so nothing happens.
>
> Am I overlooking something or is it just something that doesn't work?
>
> jan
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-db-unsubscribe <email protected>
> For additional commands, e-mail: php-db-help <email protected>
> To contact the list administrators, e-mail: php-list-admin <email protected>
>
>

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-db-unsubscribe <email protected>
For additional commands, e-mail: php-db-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>