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.
--
.---
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
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
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
4 matches
Mail list logo