Login form using PHP and permissions
<p>I have a question, I have a database field called "is-admin", and I have a login form, what I want:  </p>

<p>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".  </p>

<p>My question is how to do that using PHP?</p>