title: Issue with counting rows using MySQLi
body: <p>When trying to execute my MYSQLi statement that's supposed to count rows. I don't get an error when I do a query but when I try and echo the result, it just breaks the html lines below the echo.</p>
  
  <p>Here is my code:</p>
  
  <pre><code>$db = doDB();
  $sql = "SELECT COUNT(*) From `Keys`";
  $stmt = $db-&gt;query($sql)-&gt;fetchColumn();
  </code></pre>
  
  <p>doDB() Function:</p>
  
  <pre><code>function doDB() {
   $dbHost = 'localhost';
   $dbName = '';
   $dbUser = '';
   $dbPass = '';
  
   $db = new mysqli($dbHost, $dbUser, $dbPass, $dbName);
   return $db;
  }
  </code></pre>