title: Display Message if num_rows = 0 in php from mysqli prepared-statement
body: <p>I am having an issue trying to get the number of rows from a prepared statement query in php, my query looks as follows:</p>
  
  <pre><code>$DBH = getDBH();
  $stmt = $DBH-&gt;prepare("SELECT info FROM list WHERE tag = ?");
  $stmt-&gt;bind_param("s",$tag);
  $stmt-&gt;execute();
  $stmt-&gt;bind_result($information);
  </code></pre>
  
  <p>and i basically just want to say if there is no result returned display "no result returned" can anyone please help?</p>