title: Syntax error or access violation: 1064 don t get it?
body: <p>the text i get in the browser:</p>
  
  <pre><code>SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''users' WHERE 'username'= 'cAASDASD'' at line 1
  </code></pre>
  
  <p>maybe it is in this part?
  otherwise i have no more 'WHERE'.</p>
  
  <pre><code>public function user_exists($username) {
  
      $query = $this-&gt;db-&gt;prepare("SELECT COUNT('id') FROM 'users' WHERE 'username'= ?");
      $query-&gt;bindValue(1, $username);
  
      try {
          $query-&gt;execute();
          $rows = $query-&gt;fetchColumn();
  
          if($rows == 1) {
              return true;
          }
          else {
              return false;
          }
      }
      catch (PDOException $e) {
          die($e-&gt;getMessage());
      }
  }
  </code></pre>