Re: Multiple image buttons

From: Date: Wed, 10 Sep 2003 21:28:28 +0000
Subject: Re: Multiple image buttons
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-162221@lists.php.net to get a copy of this message
Hi, I don't understand what you really want to do... what do you mean by "image button" ? an <input type="image"> or <img src=""> ?? On my opinion, you don't need php to check what button is pressed... All this can be done with a simple javascript function ... or with <a href> tag. After this, send a value to your phpscript like "pressed=xx" where xx is the named button pressed. Regards, P.E. Baroiller "Hardik Doshi" <php_hardik@yahoo.com> a écrit dans le message de news:20030909130613.54717.qmail@web14704.mail.yahoo.com... > Hi Group, > > I have a page on which there are multiple image > buttons. Is there any way to determine which button is > pressed by the user? > > For example, there is a page on which i display all > the users of the system with the edit and delete > button beside each user entry. Now if admin wants to > delete one of the users then how can i know admin > pressed which button? It is possible with non-image > button but image button always give me x and y > co-ordinates. > > Please let me know if you have any clue. > > Thanks > > > __________________________________ > Do you Yahoo!? > Yahoo! SiteBuilder - Free, easy-to-use web site design software > http://sitebuilder.yahoo.com

« previous php.general (#162221) next »