"Jordan Elver" <[EMAIL PROTECTED]> wrote in message
01031619280300.01338@localhost">news:01031619280300.01338@localhost...
> 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.
How about you make another table with permisions and have a many-to-many
relationship with the users table. Then you'll just check if the user has
the given permission. It's harder to do but you'll apresiate the flexibility
it provides.
--yavo
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]