I am working on the matrimonial site. I have created a login and registration form for the user. And for storing info I have created custom tables.
In my login form, there are two fields
For another user I can check if a user is registered.
But using the same form how can I check the user is admin?
There is a problem in the password field.
(After successful login I want the admin to redirect to some pages likes report and all)
So the dashboard login and this login have to be separate