title: PHP array post data
body: <p>Form:
      $headerValues=array();</p>
  
  <pre><code>$headerValues[1][2]="Test";
  ... 
  ....
  echo "&lt;input type=\"hidden\" name=\"ArrayData\" value=\"$headerValues\"/&gt;";
  echo "&lt;input type=\"submit\" name=\"submit\" value=\"Submit\" /&gt;"; 
  </code></pre>
  
  <p>How do I read headerValues on FORM POST , I see as ARRAY when I use this code</p>
  
  <pre><code>foreach (array_keys($_POST) as $key) { 
     $$key = $_POST[$key]; 
     print "$key is ${$key}&lt;br /&gt;";
     print_r(${$key}); 
  } 
  </code></pre>