Hey guys I have a problem with my login form.I made a site and i run that site on xampp localhost and it's work fine, but then I transferred files to web hosting and my login form show this error : "Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given ... on line 39" Code in this line is :
$login_check = mysql_num_rows($sql);
If login check number is greater than 0 (meaning they do exist and are activated)
if($login_check > 0){
while($row = mysql_fetch_array($sql)){
`
Please can someone help me, this is very important to me.Thank you.