Re: [PHP] Reading Form Buttons

2003-09-25 Thread Robert Cummings
On Thu, 2003-09-25 at 15:39, Dan J. Rychlik wrote: > Oh, so its the same as reading post data from form fields. Cool. That > makes it easy. For the most part, but only the button submitted will be posted to your web server which is why you need to check for isset() Cheers, Rob. -- .---

Re: [PHP] Reading Form Buttons

2003-09-25 Thread Dan J. Rychlik
MAIL PROTECTED] > > Sent: Thursday, September 25, 2003 3:35 PM > > To: [EMAIL PROTECTED] > > Subject: [PHP] Reading Form Buttons > > > > > > Hello, > > > > I cant figure this one out. In one form I have two button > > that needs to trigger thei

RE: [PHP] Reading Form Buttons

2003-09-25 Thread Jeff McKeon
If(isset($_post['update'])) { do something; } If(isset($_POST['delete'])) { do something; } Jeff > -Original Message- > From: Dan J. Rychlik [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 25, 2003 3:35 PM > To: [EMAIL PROTECTE

[PHP] Reading Form Buttons

2003-09-25 Thread Dan J. Rychlik
Hello, I cant figure this one out. In one form I have two button that needs to trigger their respective functions. In php, how would I read the values or the names of the buttons pressed? -Dan