I am trying to run following code :
$sql="select email,password from register where email='".$email."' and password='".$password."'";
But following error is occured:
Warning: mysqli_num_rows() expects parameter 1 to be mysqli_result, bool given in C:\wamp64\www\HelloTune\login.php on line 38
Can anyone please tell me what is wrong in this code.