title: Query works if I don't bind, but fails when I do. Where is my error?
body: <p>I have tried variations of this:</p>
  
  <pre><code>$prep_get_company=$connection-&gt;prepare("SELECT * FROM sl_customer WHERE company_name = ':company_name'");
  $prep_get_company-&gt;bindParam(':company_name',$company_name);
  </code></pre>
  
  <p>and I get no results but if I do this:</p>
  
  <pre><code>$prep_get_company=$connection-&gt;prepare("SELECT * FROM sl_customer WHERE company_name = '$company_name'");
  </code></pre>
  
  <p>It returns my desired results. The contents of <code>$company_name</code> is a string with spaces. </p>