I am working on a project using codeigniter framework.There are different types of users.Now we have 4 user types.I am using different registration table for every user like
registration_table_user_type1,
registration_table_user_type2,
registration_table_user_type3,
registration_table_user_type4.
But now i am using one login form with username and password input field.And i want to create a table for login authentication.This table will be like that
login_table(username,password,user_type,registration_id)
but i am worried about website.Because there will be more than 1000000 users for different type of user.How can i write mysql query for doing faster my website.I want some advice ,Please help me.
tablefor users and ancolumnwith user type - Ajith S