Use sessions:
session_start();
on every page
$_SESSION['name'] = $_POST['name'];
then on page3 you can echo $_SESSION['name']
More Related Contents:
- How to prevent form resubmission when page is refreshed (F5 / CTRL+R)
- How to prevent multiple inserts when submitting a form in PHP?
- Submit a form using Shift + Enter [duplicate]
- Date format using dd/mm/yyyy using HTML
- Php condition doesn't work for html [closed]
- Needle in a Haystack for Php [closed]
- Display in stock data in short description [closed]
- Divide php echo rows into 3 columns
- How to insert images into a database using PHP [closed]
- (PHP) Warning: file_get_contents() [function.file-get-contents]: couldn’t resolve host name
- How Can I add HTML And CSS Into PDF [closed]
- How do you parse and process HTML/XML in PHP?
- Multiple inputs with same name through POST in php
- How to display HTML tags as plain text [duplicate]
- How to parse HTML in PHP?
- mysql_fetch_array() expects parameter 1 to be resource problem [duplicate]
- PHP Undefined Index [duplicate]
- UTF-8 encoded html pages show � (questions marks) instead of characters
- Using php to output an mp4 video
- Using square brackets in hidden HTML input fields
- prevent direct url access to php file
- How do I return a proper success/error message for JQuery .ajax() using PHP?
- Sending HTML Code Through JSON
- onbeforeprint() and onafterprint() equivalent for non IE browsers
- HTML PHP Progress Bar
- Setting POST variable without using form
- PHP E-mail Form Sender Name Instead Of E-mail?
- Why are escape characters being added to the value of the hidden input
- How to safely output HTML from a PHP program?
- loadHTML LIBXML_HTML_NOIMPLIED on an html fragment generates incorrect tags