Hi,
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
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
From: Abdul-wahid Paterson [EMAIL PROTECTED]
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
Hi,
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.
Yes, I should have
On Tuesday 12 August 2003 8:45, Abdul-wahid Paterson wrote:
[snip]
Is there are a better way of doing this? All I want is to know which
button has been clicked on the form. (The form has to be method=POST)
input type=image name=test1 src=...
input type=image name=test2 src=...
Then on the form
5 matches
Mail list logo