Thanks for all your help. I've settled for an enum field for the time being.
I'm going to try something more complex at a later stage.
Thanks again,
Cheers,
Jord
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
List [EMAIL PROTECTED]; PHP DB Mailing
List [EMAIL PROTECTED]
Sent: Friday, March 16, 2001 7:28 PM
Subject: [PHP] Login System with access levels
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
"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
"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
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
5 matches
Mail list logo