Sys, GE Interlogix)
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] multiple FORMS on same page problem.
Golawala, Moiz M (IndSys, GE Interlogix) wrote:
> It is almost working.. I can't figure out why I can get the "someVal" to page5.php.
>
> file: page4.php
>
>
Golawala, Moiz M (IndSys, GE Interlogix) wrote:
It is almost working.. I can't figure out why I can get the "someVal" to page5.php.
file: page4.php
if (isset($_REQUEST['submit1'])){
echo "button 1 was clicked, act accordingly";
echo "this the request values";
echo $_REQUEST['someVal'];
}els
-Original Message-
From: CPT John W. Holmes [mailto:[EMAIL PROTECTED]
Sent: Monday, September 15, 2003 4:36 PM
To: Golawala, Moiz M (IndSys, GE Interlogix); [EMAIL PROTECTED]
Subject: Re: [PHP] multiple FORMS on same page problem.
You can only use one form, as you've figured out. You
--- "Golawala, Moiz M (IndSys, GE Interlogix)" <[EMAIL PROTECTED]> wrote:
> I am creating a page with 2 buttons.
...
>
>
>
>
>
>
>
>
...
> I would like to see the variable 'someVal' in the $_POST of both
> "page4 Submit" button and "page5 Submit" button.
Then put so
on "page5.php" that you want to retain.
---John Holmes
PS: Sorry for the top-post, but OExpress sucks. :)
- Original Message -
From: "Golawala, Moiz M (IndSys, GE Interlogix)" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, September 15, 2003 4:17
Moiz M (IndSys, GE Interlogix)
[mailto:[EMAIL PROTECTED]
Sent: Monday, September 15, 2003 1:17 PM
To: [EMAIL PROTECTED]
Subject: [PHP] multiple FORMS on same page problem.
I am creating a page with 2 buttons. One which will refresh the page and the other
that will go to another page. My problem
I am creating a page with 2 buttons. One which will refresh the page and the other
that will go to another page. My problem that I need to put all the values into $_POST
and have access to when any of the 2 buttons are clicked.
If I use the button in 2 seperate form tags I don't have access to a
7 matches
Mail list logo