I have 3 pages. How can I print 1st page value to 3rd page. And my code is following (it just for sample).
page1.php
<form methord="post" action="page2.php">
username:<input type="text" name="username" >
password:<input type="text" name="password" >
<input type="submit" name="">
</form>
page2.php
<?php
$u=$_POST['username'];
$p=$_POST['password'];
?>
<form methord="post" action="page3.php">
username:<input type="hidden" name="username" value="<?php echo $u?>">
password:<input type="hidden" name="password" value="<?php echo $p?>">
mobile:<input type="text" name="mobile">
<input type="submit" name="">
</form>
Now how to print username, password, mobile in page3.php ?