Re: [PHP] FORM with a posting value

2001-04-08 Thread Victor Gamov
t; > To: [EMAIL PROTECTED] > > Subject: RE: [PHP] FORM with a posting value > > > > > > Yes, but you no longer check the value of "value" to > > determine which button > > was clicked. Instead, give each button a unique *name* > > attribute, t

RE: [PHP] FORM with a posting value

2001-04-06 Thread Johnson, Kirk
Oops. You do need the type=image and src= attributes, instead of what I wrote in the example. Good thing it's Friday :) > -Original Message- > From: Johnson, Kirk > Sent: Friday, April 06, 2001 1:29 PM > To: [EMAIL PROTECTED] > Subject: RE: [PHP] FORM with a posti

RE: [PHP] FORM with a posting value

2001-04-06 Thread Johnson, Kirk
Yes, but you no longer check the value of "value" to determine which button was clicked. Instead, give each button a unique *name* attribute, then check if $name_x is set. The browser returns the x,y coordinates of the point where the user clicks the button, in variables named name_x and name_y.