i want to display my first page data in third page without session or database.
here is my page1.php form.
<form method="post" action="page1">
name<input type="text" name="name">
password<input type="password" name="pass">
retype password<input type="password">
<input type="submit" name="submit" value="Submit"/>
</form>
it post the value to page two. and my page2.php contain one button. if i click that button means it goes to page2
<form method="post" action="page3">
<?php
if(isset($_POST["submit"]))
{
$name= $_POST["name"];
$pass= $_POST["pass"];
}
?>
<input type="submit" name="submit1" value="submit">
</form>
now i need to display fist page data to here in page3.php
<?php
if(isset($_POST["submit1"]))
{
$name= $_POST["name"];
$pass= $_POST["pass"];
echo $name;
echo $pass;
}
please any one give idea to make this thing to work. thank you.