i need help in php login form,by watching php login and register course i am doing exactly the same but my user_exists() function not working bcoz when i enter the correct username i.e "madiha" then it gives the message that u have not registered.please see the code of login form and users.php

//login.php




//users.php