kamal213 Posted July 11, 2011 Share Posted July 11, 2011 Hi guys, I have a customer management script were only logged user can view and perform tasks such as add customers and book appointments. Currently only certain users can do certain thing e.g. some users can add customers and book appointments and other can only add customers or only book appointments. What I did was create two table in mysql 'customer users' and 'appointment users', so users who can do all activities are have their username and password in both table, those who can do only one activity have log details save on only their approtiate tables i.e 'customer users' or 'appointment users'. The problem is I have to go to the datebase all the time if I want to decide which user does what, I was wondering if you knew a way I can do it on my system, maybe like creating a control panel and changing the user settings from there instead. Look forward to your help and advise, Thanks alot. Quote Link to comment https://forums.phpfreaks.com/topic/241691-php-set-user-permissions/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.