title: SQL / PHP not getting any results
body: <p>I have this script and for some reason I'm getting "No Results".</p>
  
  <pre><code>$town_city = $_POST["town_city"];    
  $partner_emails = "SELECT GROUP_CONCAT(email_address SEPARATOR ', ') FROM partners WHERE '$town_city' ='yes'";
  $connect-&gt;query($partner_emails);
  if ($result = $connect-&gt;query($partner_emails)) { 
      $row = $result-&gt;fetch_row();
      if(!empty($row[0])){
          $partner_emails = $row[0];
      }
      else {
          echo "Error: no results&lt;br&gt;";
          $partner_emails = false;
      }
      // CLOSE YOUR RESULTS
      $result-&gt;close();
  }
  else {
      echo "Error in the connection&lt;br&gt;";
      $partner_emails = false;
  }
  @mail($partner_emails, $supplier_subject, $supplier_message, $supplier_headers);
  </code></pre>