title: How can I put 3 variables from POST to AnswerId
body: <p>My question is: How can I put 3 variables from POST to AnswerId so it will delete whole the row in my database.</p>
  
  <p>This is my code: </p>
  
  <pre><code>$tbAlleAntId = $_POST['tbAntId1'], $_POST['tbAntId2'], $_POST['tbAntId3'];
  $tbDeleteAnswerId = $tbAlleAntId;
  $deleteAnt = "DELETE FROM Antwoorden WHERE AnswerId= ".$tbDeleteAnswerId;
  
  $numRowsAnt=$dbQuiz-&gt;exec($deleteAnt);
  
  $dbQuiz=null;
  </code></pre>
  
  <p>I am using the PDO API to connect with.</p>