title: Array returns nothing from mysql if more than one value selected
body: <p>How do I get all the results of my query to show? If my $author prints as Array ( [0] => 1 ) the query pulls correct data. However, if my $author prints as Array ( [0] => 1 [1] => 8  ) or any combination of values received from my form, then it returns empty.</p>
  
  <p>The array prints correctly, so I am moving from that point forward and assuming the problem is the query but cannot figure it out.</p>
  
  <pre><code>$query = "SELECT * FROM estudos";
  if (isset($author)){
      $query.=" WHERE author='" . implode ($author) ."'";
      print_r ($author);
  }
  </code></pre>
  
  <p>Here is my php and html...</p>
  
  <pre><code>$results=$dbclient-&gt;query($query) or die(mysqli_error());
  
  &lt;?php 
  while($row=mysqli_fetch_array($results))
      echo"&lt;tr&gt;&lt;td class='name'&gt;$row[name]&lt;/td&gt;";
  ?&gt;
  </code></pre>