title: Delete an array not working with PDO SQL?
body: <p>it's been 3 hours that i'm trying to delete a row in mysql based on a id ...
  Seems simple right ?</p>
  <p>Taking into consideration that the array might contains several value:
  $result = Array ( [3] =&gt; 4_Couture )</p>
  <pre><code>Array ( [3] =&gt; 4_Couture )
  $sql_delete = &quot;DELETE FROM users_resumes WHERE id_training_key = ? &quot;;
  $stmt_delete= $pdo-&gt;prepare($sql_delete);
  foreach($result as $r) {
              $stmt_delete-&gt;execute($r);
      }
  </code></pre>
  <p>This seems to be right no ?
  error : PDOStatement::execute() expects parameter 1 to be array, string given</p>
  <p>Any, any, any clue is very welcome ! thanks a lot from France !</p>