title: MySQLi num_rows returns 0
body: <p>Here's my code</p>
  
  <pre><code>$stmt = $conn-&gt;mysqli-&gt;stmt_init();
  $stmt = $conn-&gt;mysqli-&gt;prepare('SELECT Username, EmailVerified, Blocked FROM user WHERE Email = ? AND SLANumber = ? AND Password = ?');
  $stmt-&gt;bind_param('ssb', $_POST['EmailID'], $_POST['SLANumber'], $_POST['Password']);
  $stmt-&gt;execute();
  $stmt-&gt;store_result();
  $result = $stmt-&gt;get_result();
  if($result-&gt;num_rows == 0){
      echo 'No rows found';
  }
  else{
      // Continue processing here
      .....
  }
  </code></pre>
  
  <p>The code always echoes <code>No rows found</code>. A day or two before, it was working fine.</p>
  
  <p>As expected, running the query directly gives the desired result.</p>
  
  <p>What's wrong with the code?</p>