Re: How to get information from <input type=image ...>
| From: | David Robley | Date: | Wed, 21 Feb 2001 23:40:55 +0000 |
| Subject: | Re: How to get information from <input type=image ...> | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-41081@lists.php.net to get a copy of this message | ||
On Thu, 22 Feb 2001 04:20, Zenith wrote:
> Hello everbody, if a have HTML document lik this:
> <form action = "submit_to.php">
> <input type="image" src="xxx" name="action1">
> <input type="image" src="xxx" name="action2">
> </form>
>
> How can know whether the user is pressed on the "action1" or "action2"
> image button??
http://au.php.net:81/FAQ.php#7.13 covers the topic
nicely.
--
David Robley | WEBMASTER & Mail List Admin
RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/
AusEinet | http://auseinet.flinders.edu.au/
Flinders University, ADELAIDE, SOUTH AUSTRALIA