i ve created database called useradmin where the username and password is stored and created a login form too. everything is fine with code and the interface. when i tried to login with false username a message is displayed saying invalid. but when username corrrect and enter wrong password their a problem arised, that the user will be authorise even with wrong password? do any1 ve any idea whats happening?

i found the error. the error is i forgot to query for the password. just i did for username and status not for password.