post - $_POST["variable"] in PHP is not remembered in all the pages in my project -


i having 3 pages : page1.php , page2.php , page3.php . page1.php registration form , action of form page2.php in page2.php want display entered value of registration form in page1.php type:

as see in page2.php have tag makes go page3.php in page3.php have code:

http://s28.postimg.org/4fruiudt7/page3.jpg

but gives me following error messages:

notice: undefined index: username in d:\xampp\htdocs\test\page3.php on line 3 username: notice: undefined index: passwd in d:\xampp\htdocs\test\page3.php on line 4 password:

my question is: how make page3.php remember $_post variables.

and how make rest of php files in directory of page1.php , page2.php , page3.php remember values of $_post variable too.

i suggest should using $_session kind of stuff. can assign value it, , remembered. think problem current script not "post" page3.php via forms, therefore php won't find in variables.


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -