How to separate admin and frontend part in php with codeigniter?
I have 3 users..
How to give them the privelges to get access on their pages ?

Recommended Answers

All 3 Replies

Wwhat you can do is assign each user a user code. For instance, u can say that Administrator is assigned code 1, Clerk, code 2 and so forth.
Then, during login, you check for the user code, so that you can redirect them to their respective pages.
You also make sure that this check is carried out before a user transacts with the system.

Oki, thanks mate :)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.