title: Two arrays in one SQL query
body: <p>Consider the following :
  I have several arrays (let's say 2), that I get with post, like that :</p>
  
  <pre><code>$_POST['date-pack'] :
  $date_pack array {
  [0] ==&gt; "Juillet 2012"
  [1] ==&gt; "Avril 2012"
  ...
  </code></pre>
  
  <p>And with this array, I have another one with the id's in the same order as the dates :</p>
  
  <pre><code>$_POST['id_pack'] :
  $id_pack array {
  [0] ==&gt; "6"
  [1] ==&gt; "8"
  ...
  </code></pre>
  
  <p>The thing is, I want to update a table, like that :</p>
  
  <pre><code>"UPDATE my_table 
  SET date_service = *the_first_date_in_array*
  WHERE id_service = *the first_id_in_array*"
  </code></pre>
  
  <p>and then do the same thing for all the elements in my arrays (they'll have the same number of elements).</p>
  
  <p>I don't know if it's possible to use "foreach" with several arrays and put my query into the loop ... ?</p>
  
  <p>Thanks in advance for your help !</p>