)
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
?php
if (isset($_REQUEST['submit1'])){
echo button 1
is?
Thanx
Moiz
-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
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
?php
if (isset($_REQUEST['submit1'])){
echo button 1 was clicked, act accordingly;
echo this the request values;
echo $_REQUEST['someVal'];
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
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 that I need to put
Interlogix) [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, September 15, 2003 4:17 PM
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 that I need to put all
--- Golawala, Moiz M (IndSys, GE Interlogix) [EMAIL PROTECTED] wrote:
I am creating a page with 2 buttons.
...
form action=page4.php method=post
?php echo this is page 4; ?
input type=text name='someVal' value=''
input type='submit' value='page4 Submit'
/form
form
7 matches
Mail list logo