title: how to call array 2D in PHP?
body: <p>I have array 2d below, the variable ($C00 etc) has value itself. </p>
  
  <pre><code>   $matriks = array(array($C00, $C01, $C02, $C03),
               array($C10, $C11, $C12, $C13),
               array($C20, $C21, $C22, $C23),
               array($C30, $C31, $C32, $C33));
  </code></pre>
  
  <p>i want to use that array 2d on next page, with submit form method POST:
  i dunno this code corret or not :).</p>
  
  <pre><code>foreach ($matriks as $val) {
  foreach ($val as $v) {
  echo '&lt;input type="hidden" name="Matriks[][]" value="'.$v.'"&gt;';
  }}
  </code></pre>
  
  <p>then how to call it in action page? (after submit)
  my code like this but still eror.</p>
  
  <pre><code>$matriks=array();
  foreach($_POST['Matriks'] as $key =&gt; $val) {
  foreach ($val as $k =&gt; $v) {
      $matriks[$key][$k] = $v;
  }}
  </code></pre>