title: DELETE multiple rows in PDO
body: <p>I'm a rookie in PDO and I've done some search about the issue I'm facing and I wasn't able to find any answers about it. As you can see below, I have this function:</p>
  
  <pre><code>function deleteInfo($id){
      $pdo = connPDO();
      $deleteInfo = $pdo -&gt; prepare("DELETE FROM game_locais_zumbis WHERE id_zumbi IN (:id)");
      $deleteInfo -&gt; bindValue(":id", $id, PDO::PARAM_STR);
      $deleteInfo -&gt; execute();
      $pdo = null;
  }
  </code></pre>
  
  <p>After that, I have the following code:</p>
  
  <pre><code>while($row = $listInfo -&gt; fetch(PDO::FETCH_ASSOC)){
      $ids[] = $row['ids'];
  }
  $ids = implode(',', $ids);
  deleteInfo($ids);
  </code></pre>
  
  <p>When I echo my $ids, I get: </p>
  
  <blockquote>
    <p>1,2,3,4,5</p>
  </blockquote>
  
  <p>But the DELETE function is not deleting all those five rows in my db but only the first one, like "1". When I run that exactly same DELETE function in my db, replacing the ":id" with "1,2,3,4,5", it does work! Does anybody know what's my mistake here? I appreciate any help. </p>