I am building a user login form validation. On correct, password user will be able to go to user access area. The error has occurred on the below line.
$query = mysqli_query ("select * from tb_cform where u_pass='$pass' AND u_username='$username' ",$connection);
The error I get is the following:
Warning: mysqli_num_rows() expects parameter 1 to be mysqli_result, null