How to save the state of $_POST['username'] in PHP. I made a form to login, that form posts to MySql but it also posts to the users page, how to save that state of the user-page so when te user goes to another page the the state wil still be saved until you log in again.
How to save the state of $_POST[‘username’] in PHP. I made a form to
Share
Use Sessions to store it. Find about it here. Use it like below.
set it like below,
get that back at another page as