RE: [PHP-DB] submitbutton/imagebutton
| From: | Thomas | Date: | Fri, 22 Jun 2001 18:15:46 +0000 |
| Subject: | RE: [PHP-DB] submitbutton/imagebutton | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-9749@lists.php.net to get a copy of this message | ||
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@demorgen.be>
Para: <php-db@lists.php.net>
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@lists.php.net
> For additional commands, e-mail: php-db-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>