Login System with access levels
| From: | Jordan Elver | Date: | Fri, 16 Mar 2001 19:28:03 +0000 |
| Subject: | Login System with access levels | ||
| Groups: | php.db php.general | ||
| Request: | Send a blank email to php-general+get-44305@lists.php.net to get a copy of this message | ||
Hi,
I've got a db with a username and password in it. I can let people log in,
like SELECT * FROM table WHERE username = username AND password = password.
But how can I add an access level column so that I can have different levels
of security. So admin's can read everything, but users can only read certain
sections.
How could I add to my db and structure a query?
Any ideas would be good,
Cheers,
Jord