mySQL and PHP login page problems -


I am trying to create this login form. All mysql is correct and it is connecting to the database, the log details are present and correct, but when I input, I get an error from PHP and the messages which are incorrect in my login details. I am new to PHP / mySQL so I I do not really know what I'm doing wrong! Error from PHP: Warning: mysql_num_rows () parameter1 is expected to be processed, blank row 22 / home/bluecode/public_html/intranet/checklogin.php given on page 22

form variable Myusername and mypassword are <

thanks :)

   

does not check values ​​of SQL ==, only one =

Use>
  ... where password = 'secret'  

hh


Comments