This tutorial goes over the concept of a login system in PHP while using sessions(to maintain the login status) and MySQL(a database that holds the information).
[click more info to see link to sources online]
(Hint: don't forget about Part 2 • PHP & MySQL Tutorial 08: logging in with M... ) I first go over how to make the login page, then the table in the database. After that, I make a user through PHPMyAdmin(the next tutorial will likely go over registering users). I then code how to validate that user and if they are validated, set the session information. After the session information is acceptable, they can go to a "members only" page which only allows identified people in. Then a way to log out.
This tutorial is pretty much a walkthrough in concept of a mysql login system.
http://kloplop321.com/php-tutorials/i...