Hi, In the first example application, it doesn't make any sense to have the Register menu item in the header after successful login. How can it be achieved? Please help! Thank you.
Hi everyone, I am a newbie here. I was wondering if someone could help me in how to display the username after successful login. I want to display it beside the <h1>Welcome</h1> which is in the index.php file. Lets say the username is Harry. After logging in, I would like to display Welcome Harry. I have googled it a bit, and I found that we have to set the username where the session has been started. But I am not sure how to do it here. Please help! Thank you.