title: Get name option and value with multi input checkbox
body: <p>I have a form with this entry</p>
  
  <pre><code>&lt;input type="checkbox" name="option[repassage]" id="options1" value="10.00"&gt; Repassage 30 mn
  &lt;input type="checkbox" name="option[frigo]" id="options2" value="5.00"&gt; Frigo 30 mn
  </code></pre>
  
  <p>With php i do this to get all the options and i put them in an array but i can not get the right values for 'titre_option' and 'prix_option' !!!</p>
  
  <pre><code>if (isset($_POST['option'])) {
      foreach ( $_POST['option'] as $key =&gt; $value ) {
          $_SESSION['option'][] = array('titre_option' =&gt; $_POST['option'][$key], 'prix_option' =&gt; $_POST['option'][$value]);
      }
  }
  
  // What i get
  Array
  (
      [0] =&gt; Array
          (
              [titre_option] =&gt; 10.00
              [prix_option] =&gt; 
          )
  
      [1] =&gt; Array
          (
              [titre_option] =&gt; 5.00
              [prix_option] =&gt; 
          )
  
  )
  
  // What i need
  Array
  (
      [0] =&gt; Array
          (
              [titre_option] =&gt; repassage
              [prix_option] =&gt; 10.00
          )
  
      [1] =&gt; Array
          (
              [titre_option] =&gt; frigo
              [prix_option] =&gt; 5.00
          )
  
  )
  </code></pre>
  
  <p>Thank you for your help...</p>