So, i got error in my php code at this line:
mySQL error:
Heres the code that is interacted with the line:
Anyone help? :3
Code
//Counting table row
$count=mysql_num_rows($result);Code
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/a5899566/public_html/checklogin.php on line 30Heres the code that is interacted with the line:
Code
$sql = "SELECT * FROM $tbl_name WHERE username='$usern' and password='$passn'";
$result=mysql_query($sql);
//Counting table row
$count=mysql_num_rows($result);
