I have a question, I have a database field called "is-admin", and I have a login form, what I want:
For example user have The value "1" in "is-admin" field and clicks on submit button he will enter to "home1.php", but if he has "0" in is-admin he will enter to "home.php".
My question is how to do that using PHP?