Re: Graphic button - PHP3.


Subject: Re: Graphic button - PHP3.
From: Kristian Koehntopp (kris@koehntopp.de)
Date: Tue May 02 2000 - 07:16:17 CEST


"Nathan D Hiller" <nhiller@san.rr.com> writes:
>Does anyone know how to use a graphic for a submit button in php3 ?

Create a form element

        <input type="image" src="bla.gif" name="b">

This will create graphic button named b. This button will submit
two values names b.x and b.y when pressed, sending the x and y
coordinates of the mouse pointer within the button. As variable
names in PHP must not contain dots, PHP will import these values
as $b_x and $b_y.

Kristian

-- 
Kristian Koehntopp, Knooper Weg 46, 24103 Kiel, +49 170 2231 811
"If privacy policies were regarded as enforceable contracts between users and
 e-commerce companies, there would be no need for middlemen such as
 Enonymous." -- K. M. Ellis (gesehen auf der Politech Mailing List)
-- 
Linux - the choice of a GNU generation.



This archive was generated by hypermail 2b25 : Fri May 05 2000 - 14:57:05 CEST