In my application there are three users name are : student,faculty,admin.when i made registration at that i am askig which user they are? but i am confused how its possible when user is going for login at that which user is going for login? In my login form i have put username and password field. Now how I am doing than i am checking which user is login?
yes they are types of user...one table of user in which userid-pk and usertype fields another table login in which loginid-pk,username,password and userid-fk third is register in which sign up detail and loginid-fk
I am making one application in which 3 users are there. I am confused at the time login how can i know that which user is login and which page I have to call and also tell me primary key and foreign key of table. my users are: STUDENT,FACULTY,ADMIN if possible than explain with some example.