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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to