Hi Guys,
I have a login page. And I want to filter the user by level. My script is working but all user level is redirecting to admin page. On my database i have user_level = (admin & user).
What i need is, If user login using admin account, it will redirect to admin page.
And when user login using user account it will redirect to user page.
Any Idea is welcome.