tecmeister Posted August 8, 2008 Share Posted August 8, 2008 Hi there, I have created a shop and sorted the user login and register BUT..... I want to sort out the admin login/permission. Do i have to create another sperate mysql database. Or can i do it in the users data base. Thanks for your help tecmeister. Link to comment https://forums.phpfreaks.com/topic/118785-admin-loginpermission/ Share on other sites More sharing options...
garry Posted August 8, 2008 Share Posted August 8, 2008 The best way I found to do it is to make a new table called usertypes, or acl or something like that, and that contains all of the access levels there are for your site with id's for all of them. Then in the user table, you have a field called acl_id and that contains which level of access they have. Link to comment https://forums.phpfreaks.com/topic/118785-admin-loginpermission/#findComment-611587 Share on other sites More sharing options...
tecmeister Posted August 8, 2008 Author Share Posted August 8, 2008 I have a idea. Do you no of a tutorial that i can do using it? I have only just got used to the user register and login. Thanks for you help. Link to comment https://forums.phpfreaks.com/topic/118785-admin-loginpermission/#findComment-611600 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.