Jump to content

forms


common

Recommended Posts

hey

 

ive got 3 php pages.

the first 2 pages has each got a form in. The first form on page1 links to the second page. The form on page2 links to page three...

 

Say i enter a name on page1's form, and uses the POST method to get the name on page2, how can i get that same name on page 3??

 

i think this would help

put this on the 3rd page

<?php
//get the value of the field in page2
$name=$_POST['nameofthefieldinpage2'];
echo"$name";
?> 

 

 

Link to comment
https://forums.phpfreaks.com/topic/147924-forms/#findComment-776360
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.