title: php mysql - search like - variable
body: <p>I have a form where a user can type in the firstname to search, my query is not returning the correct results, what am I doing wrong?</p>
  
  <pre><code>$sfn = $_POST["Text1"];
  $sql = "SELECT * FROM ex_usrs WHERE firstname LIKE '$sfn'";
  ...
  </code></pre>