Re: Image as submit button

From: Date: Wed, 18 Oct 2000 17:24:16 +0000
Subject: Re: Image as submit button
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-20933@lists.php.net to get a copy of this message
On Wed, 18 Oct 2000, Erki Kukk wrote: > Hi! > If anyone knows how can I use an image as Sumbit button, then I would be very pleased to get > any assistance. > > I use > <input type="image" src="imagename.gif" name="submit"> > but it doesn`t submit the form? That's the right syntax. Is it inside correct <form> </form> tags? Also, be aware it won't set a $submit variable as you may expect, it'll instead set $submit_x and $submit_y variables which will equal the x,y position that they clicked on the image. Matt

« previous php.general (#20933) next »