Jump to content

auth help (oop)


Destramic

Recommended Posts

I’m making a website where there will be an administration panel if having access as an admin and a clan login which will have different options and access’.

 

I want to make an auth in OOP but I’m trying to find the best way of doing it?

 

Both admin and clan users will be created in different tables to make it easier…

 

Eg:

 

Admin table

-------------

Administration_id

Username

Password

Email

 

-------------

Users table

User_id

Clan_id (which will link me to their profile)

Username

Password

 

What will be the best way of doing this with oop?

 

Ricky

 

Link to comment
https://forums.phpfreaks.com/topic/47360-auth-help-oop/
Share on other sites

im not sure what the best think is to do for what i need?

would this work?

 

users

------------------

user_id

clan_id

username

password

email

icon

access  'clan', 'admin'

--------------------

 

and if access = admin then i would leave clan_id blank?

 

can someone give me some id on how this should work?

Link to comment
https://forums.phpfreaks.com/topic/47360-auth-help-oop/#findComment-231458
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.