Adding an additional login variable
I'm just learning PHP and have to adjust something the developers built.
We have a user registration and login on our site.
We are adding a special section to the site that will initially be restricted only to certain customers.
I don't want them to have to do anything special to log in to that section but instead have permissions we can turn on in the admin.
As one example.....
The end result would be that on the admin side, in each profile there would be a checkbox to turn on the select customers permissions for that exclusive section.
The end user would never see anything or know about it other than being prompted to login like usual. Then for some it would give access and others would receive some kind of message to call whomever......
I thought I could add an additional column to the table for those permissions and script it to check for approval equaling 0 or 1 for no or yes.
I can't piece this together though.
So, first question, am I approaching this in the best way?
If not, what other options do I have?
If so, what info do I need to share here to get some feedback that can help sort it out?