title: insert to hidden field array of arrays
body: <p>I have:</p>
  
  <pre><code>&lt;form id="postform" action="order_total.php" method="POST"&gt;
  &lt;input type="hidden" name="post_data[]" id="post_data" value=""&gt;
  &lt;/form&gt;    
  </code></pre>
  
  <p>in some javascript function I filling an array like this:</p>
  
  <pre><code>var postdata = [];
  var article = [];
  article.push('a','b','c');  
  postdata.push(article);
  article = [];
  article.push('a','b','c');  
  postdata.push(article);
  article = [];
  article.push('a','b','c');  
  postdata.push(article);
  </code></pre>
  
  <p>and after this I do like this:</p>
  
  <pre><code>$("#post_data").val(postdata);
  $("#postform").submit();
  </code></pre>
  
  <p>But 'postdata' looks like a string when I'm trying to show it in 'order_total.php':</p>
  
  <pre><code>Array ([0] =&gt; a,b,c,a,b,c,a,b,c)
  </code></pre>
  
  <p>but I need that this data posted as arrays:</p>
  
  <pre><code>Array ([0] =&gt; Array ([0] =&gt; a, [1] =&gt; b, [2] =&gt; c),
  [1] =&gt; Array ([0] =&gt; a, [1] =&gt; b, [2] =&gt; c),
  [2] =&gt; Array ([0] =&gt; a, [1] =&gt; b, [2] =&gt; c));
  </code></pre>
  
  <p>What I'm doing wrong?</p>
  
  <p>P.S. with ajax it's good, but I need to post with redirect to this page.</p>