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)
Then on the form processing script:
if ($test1_x > -1 && $test1_y > -1) {
// the t
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
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
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 but from
> IE on the PHP side I only get $_POST['test_x'] and $_POST['test_y']
> defined
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 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 fo
5 matches
Mail list logo