RE: [PHP] Passing form value into another form value?

2003-06-30 Thread Miranda, Joel Louie M
Hello,

My script is working now. I tried a different approach


--
Louie

-Original Message-
From: Miranda, Joel Louie M 
Sent: Monday, June 30, 2003 1:49 PM
To: 'Leif K-Brooks'
Cc: 'Tom Rogers'; '[EMAIL PROTECTED]'
Subject: RE: [PHP] Passing form value into another form value?


Dude,

As far as my first email is concerned im a newbie, so please bear w/ me if
you want to.


--
Louie

-Original Message-
From: Leif K-Brooks [mailto:[EMAIL PROTECTED] 
Sent: Monday, June 30, 2003 1:32 PM
To: Miranda, Joel Louie M
Cc: 'Tom Rogers'; '[EMAIL PROTECTED]'
Subject: Re: [PHP] Passing form value into another form value?


Miranda, Joel Louie M wrote:

This is what I have made, im not sure if its correct.

---
form action method=GET name=
enter name: input type=text name=namebr
enter email: input type=text name=email
?php
$value_name = $_post['name']
$value_email = $_post['email']
?
brbr
input type=submit value=Collect Data
/form
---

Believe it or not, creating a variable called $value_* isn't going to 
magically set an input box's value.  Did you even read the example?!

-- 
The above message is encrypted with double rot13 encoding.  Any unauthorized
attempt to decrypt it will be prosecuted to the full extent of the law.



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Passing form value into another form value?

2003-06-29 Thread Tom Rogers
Hi,

Monday, June 30, 2003, 2:41:59 PM, you wrote:
MJLM Im a beginner and was hoping if you could help me on passing a value into a
MJLM form and into another form? Im not sure what do you call that sequence but I
MJLM hope you could get me into a howto section to do that or give me something
MJLM nice.

MJLM Thanks


MJLM --
MJLM Louie

Take the value from the first form and pass it in the second using a
hidden field..


//from first form

$value = $_post['value']

//second form

form action..
input type=hidden name=value value=?php echo $value?
.
.
.
/form

-- 
regards,
Tom


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Passing form value into another form value?

2003-06-29 Thread Miranda, Joel Louie M
This is what I have made, im not sure if its correct.

---
form action method=GET name=
enter name: input type=text name=namebr
enter email: input type=text name=email
?php
$value_name = $_post['name']
$value_email = $_post['email']
?
brbr
input type=submit value=Collect Data
/form
---



--
Louie

-Original Message-
From: Tom Rogers [mailto:[EMAIL PROTECTED] 
Sent: Monday, June 30, 2003 12:43 PM
To: Miranda, Joel Louie M
Cc: '[EMAIL PROTECTED]'
Subject: Re: [PHP] Passing form value into another form value?


Hi,

Monday, June 30, 2003, 2:41:59 PM, you wrote:
MJLM Im a beginner and was hoping if you could help me on passing a 
MJLM value into a form and into another form? Im not sure what do you 
MJLM call that sequence but I hope you could get me into a howto 
MJLM section to do that or give me something nice.

MJLM Thanks


MJLM --
MJLM Louie

Take the value from the first form and pass it in the second using a hidden
field..


//from first form

$value = $_post['value']

//second form

form action..
input type=hidden name=value value=?php echo $value? . . . /form

-- 
regards,
Tom

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Passing form value into another form value?

2003-06-29 Thread Leif K-Brooks
Miranda, Joel Louie M wrote:

This is what I have made, im not sure if its correct.

---
form action method=GET name=
enter name: input type=text name=namebr
enter email: input type=text name=email
?php
$value_name = $_post['name']
$value_email = $_post['email']
?
brbr
input type=submit value=Collect Data
/form
---
Believe it or not, creating a variable called $value_* isn't going to 
magically set an input box's value.  Did you even read the example?!

--
The above message is encrypted with double rot13 encoding.  Any unauthorized attempt 
to decrypt it will be prosecuted to the full extent of the law.


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


RE: [PHP] Passing form value into another form value?

2003-06-29 Thread Miranda, Joel Louie M
Dude,

As far as my first email is concerned im a newbie, so please bear w/ me if
you want to.


--
Louie

-Original Message-
From: Leif K-Brooks [mailto:[EMAIL PROTECTED] 
Sent: Monday, June 30, 2003 1:32 PM
To: Miranda, Joel Louie M
Cc: 'Tom Rogers'; '[EMAIL PROTECTED]'
Subject: Re: [PHP] Passing form value into another form value?


Miranda, Joel Louie M wrote:

This is what I have made, im not sure if its correct.

---
form action method=GET name=
enter name: input type=text name=namebr
enter email: input type=text name=email
?php
$value_name = $_post['name']
$value_email = $_post['email']
?
brbr
input type=submit value=Collect Data
/form
---

Believe it or not, creating a variable called $value_* isn't going to 
magically set an input box's value.  Did you even read the example?!

-- 
The above message is encrypted with double rot13 encoding.  Any unauthorized
attempt to decrypt it will be prosecuted to the full extent of the law.



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php