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" <[EMAIL PROTECTED]>
Para: <[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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]