|
|
|
#1 |
|
Messages: n/a
Hébergeur: |
Hi, I have a couple of PHP forms. Let's say FORM1, FORM2 & FORM3. Data is entered on FORM1 & FORM2, and will be displayed on FORM3. Getting the data from FORM2 to FORM3 is not a problem, as the for data is passed automatically via the POST method. But, how do I get the variables from FORM1 to be passed 'through' FORM2 to be displayed on FORM3? I do not want to use hidden fields in the HTML.....how else can I do this? Any would be appreciated. Thanks a lot! John |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
Mtek wrote:
> Hi, > > I have a couple of PHP forms. Let's say FORM1, FORM2 & FORM3. > > Data is entered on FORM1 & FORM2, and will be displayed on FORM3. > > Getting the data from FORM2 to FORM3 is not a problem, as the for data > is passed automatically via the POST method. But, how do I get the > variables from FORM1 to be passed 'through' FORM2 to be displayed on > FORM3? I do not want to use hidden fields in the HTML.....how else > can I do this? > > Any would be appreciated. > > Thanks a lot! > > John Sessions |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
You must to use Php Sessions.
All data will stored on $_SESSION['namesession'] , called Superglobal variables. For more infos: http://php.net/manual/en/ref.session.php Have a nice day. On 2008-04-26 12:29:26 +0200, "Paul Lautman" <paul.lautman@btinternet.com> said: > Mtek wrote: >> Hi, >> >> I have a couple of PHP forms. Let's say FORM1, FORM2 & FORM3. >> >> Data is entered on FORM1 & FORM2, and will be displayed on FORM3. >> >> Getting the data from FORM2 to FORM3 is not a problem, as the for data >> is passed automatically via the POST method. But, how do I get the >> variables from FORM1 to be passed 'through' FORM2 to be displayed on >> FORM3? I do not want to use hidden fields in the HTML.....how else >> can I do this? >> >> Any would be appreciated. >> >> Thanks a lot! >> >> John > > Sessions -- ::: Mr. Reku ::: ~ me to improve my English, Thanks. ~ |
|
|
|
#4 |
|
Messages: n/a
Hébergeur: |
> On 2008-04-26 12:29:26 +0200, "Paul Lautman"
> <paul.lautman@btinternet.com> said: > >> Mtek wrote: >>> Hi, >>> >>> I have a couple of PHP forms. Let's say FORM1, FORM2 & FORM3. >>> >>> Data is entered on FORM1 & FORM2, and will be displayed on FORM3. >>> >>> Getting the data from FORM2 to FORM3 is not a problem, as the for >>> data is passed automatically via the POST method. But, how do I >>> get the variables from FORM1 to be passed 'through' FORM2 to be >>> displayed on FORM3? I do not want to use hidden fields in the >>> HTML.....how else can I do this? >>> >>> Any would be appreciated. >>> >>> Thanks a lot! >>> >>> John >> >> Sessions > > >::: Mr. Reku ::: > ~ me to improve my English, Thanks. ~ Mr.Reku wrote: > You must to use Php Sessions. > All data will stored on $_SESSION['namesession'] , called Superglobal > variables. > For more infos: > http://php.net/manual/en/ref.session.php > > Have a nice day. > > Please don't top post (top posting fixed) Also, I did not ask this question, so why are you responding to me? |
|
|
|
#5 |
|
Messages: n/a
Hébergeur: |
On 2008-04-26 18:56:05 +0200, "Paul Lautman"
<paul.lautman@btinternet.com> said: > > Also, I did not ask this question, so why are you responding to me? Because it's the solution for your question ![]() Have a nice day -- ::: Mr. Reku ::: ~ me to improve my English, Thanks. ~ |
|
|
|
#6 |
|
Messages: n/a
Hébergeur: |
On 2008-04-26 18:56:05 +0200, "Paul Lautman"
<paul.lautman@btinternet.com> said: > Also, I did not ask this question, so why are you responding to me? Sorry, i've replied to you instead Mtek. -- ::: Mr. Reku ::: ~ me to improve my English, Thanks. ~ |
|
![]() |
| Outils de la discussion | |
|
|