title: Login mysql_num_rows Error
body: <p>This is my Check Login file... Its shows an error: 
  Call to undefined function mysql_num_row()
  Whats the problem?</p>
  
  <pre><code>$sql="SELECT * FROM $tbl_name WHERE username='$myusername' and password='$mypassword'";
  $result=mysql_query($sql);
  
  $count=mysql_num_rows($result);
  
  if($count==1) {
      session_register("myusername");
      session_register("mypassword");
      header("location:login_success.php");
  }
  </code></pre>