I have my back ground in VC# is desktop application development.
In VC#
if(user.Text == "admin")
{
form f = new AdminForm();
f.show();
}
else if(user.Text == "Facaluty")
{
form f = new FacForm();
f->show();
}
on different user level i can open differnt form according to their level, each form have differnet look and feel, and differnet content on them.
Current i am developing a web, familar with PHP basics.
What i want suppose
there are three element on the web page
1. user name feild
2. user filed password
3. drop down list having option i)Adimn, ii)Faculty, iii)Student
and a Login button.
i want to open different pages on differnt dropdown list options for examples
if user select admin from drop down list and press Login button then admin.php page should be open, and if user select student from the list then press the Login Button then Students.php page should be open.
How to do that, need guide lines. I want to learn, any tutorial any thing that will help me.
Thanks.