Hi everyone. I'm very new to PHP and try as I might, I cannot find an "Off-The-Shelf" example of a login script to suit my needs.
Basically, I am after a login system whereby I, as the web admin, can setup users in a MySQL database and set a field in the database to a particular number which relates to a particular nav bar include file. For example, setting this field to 1 means that when the user logs in, nav1.php would be included. Setting the field to 2 would mean nav2.php would be included, and so on.
I need this quite desperately, so if anyone knows of a product or open source example that's easy to follow that would be great. If someone is able to knock something up for me, Frih$ are on offer.
Basically, I am after a login system whereby I, as the web admin, can setup users in a MySQL database and set a field in the database to a particular number which relates to a particular nav bar include file. For example, setting this field to 1 means that when the user logs in, nav1.php would be included. Setting the field to 2 would mean nav2.php would be included, and so on.
I need this quite desperately, so if anyone knows of a product or open source example that's easy to follow that would be great. If someone is able to knock something up for me, Frih$ are on offer.
