When a user logs off, we will clear out this variable. The user's firstname. The user's lastname. The user's email address. Let's talk a bit about the privilege levels.
Normal customers can use the system, browse through the catalog, and do other customer functions.
In real life, there are probably many more privilege levels that you want defined but we are going to keep things simple here. We need to have a way to store all the users on the system, and the perfect place for that would be in the database. We're going to create a users table to hold all our users. Click to post your comments . Click here to receive updates on the latest articles.