Hello,
I am new to php and mysql and I had a general question about creating a login system.
Right now, I have a website that properly adds users to a database after they register.
Now, I am trying to create a login system for the registered users.
The user types in the username and password combination on the home screen and click 'login' which executes the login.php script which successfully verifies the user name and password combination.
My main question is, how do I customize my website for each particular user once they are back to the home screen?
For example, on my home screen where the login box was... if I logged in as 'Bob111' I would like for it to say "Welcome back Bob111"...
it seems that once I verify the username and password combination in my login.php script, it gets lost once I am back to home.php screen... would I need to use a SESSION? if I need to use SESSION and I chose not to, is the only other way to make it work, is to have all the scripting in one .php file pretty much?