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: [EMAIL
"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 ab
"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 yo
ED]>
To: PHP General Mailing 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
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
5 matches
Mail list logo