neridaj Posted February 26, 2008 Share Posted February 26, 2008 Hello, I'm still pretty new to PHP/MySQL but I remember creating an Admin web utility for select, insert, update and delete of user tables. Unfortunately I've lost the script I used in the class, so I'm trying to reconstruct how this should work. My main question is: Is it common practice to just create an admin table storing only those users with admin privileges, and then verifying against that table during login? Does anyone know of a good script for creating this scenario instead of only finding information about phpAdmin, which is not intended for customers who have no SQL background? I just would like to create a web admin utility for a client who shouldn't need to know SQL. Thanks for any insight, Jason Quote Link to comment Share on other sites More sharing options...
revraz Posted February 26, 2008 Share Posted February 26, 2008 I just use roles in my user tables to set their rights. Quote Link to comment Share on other sites More sharing options...
tinker Posted February 26, 2008 Share Posted February 26, 2008 I have two extra tables, groups and group_members (I find this useful for developing in a modular fashion) Quote Link to comment 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.