title: call to a member function execute() on a non-object
body: <p>My script containing that error is this:</p>
  
  <pre><code>$stmt = $this-&gt;db-&gt;prepare('SELECT libelle,activite,adresse,tel,lat,lng FROM etablissements where type IN ('.$in_list.')');
          $stmt-&gt;execute();
          $stmt-&gt;bind_result($libelle,$activite,$adresse,$tel,$lat,$lng);
  </code></pre>
  
  <p>The php version running on the server (not localhost) is 5.2.17     </p>