need a login that check user and pass from a database and if its correct read the user type from the same database and auto redirect user to his gruop index page. the script has to check the user type (group) from the database but only if the pass and username the user type it's correct, and the user may not choose the group that info its allready in the database.
Comments