Hello there
Is there a way to make a login page that depending on the "range of user", the validate code automatically redirect you to different pages?
If you are admin you go to admin.php for example
If you are user it takes you to welcome.php
I created in my db a column with ranges but now I don´t know how to do it. If I declare the condition in my validate page or in the session page?
For example
$range = " SELECT range from users where range =1"
and then I don´t know what is next.....
Any help is fully appreciated