From: "Abdul-wahid Paterson" <[EMAIL PROTECTED]>
> I am trying to create an HTML form that has several image buttons on it
> and the resulting action depends on which button is pressed.
>
> I first tried using <input type="image" name="test" src="...."> but from
> IE on the PHP side I only get $_POST['test_x'] and $_POST['test_y']
> defined. I therefore don't know which of the buttons on the form was
> actually pressed.

What do you mean you don't know what button was pressed? You have 'test_x'
and 'test_y' so you know the "test" button was pressed. If you give the
other buttons a different name, you'll have different _x and _y variable
names, so you can still tell which one was pressed.

---John Holmes...


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to