convert string (array...) to an array php?
<pre><code>echo $_POST['var'];

Array(0,Array(0=&gt;;sdfds)),Array(0,Array(1=&gt;;sa;d)),Array(1,Array(0=&gt;;xx;xxx;xxxs))



  $new_str = str_replase(")),A","))|A",$_POST['var']);

  $first_arr =  explode("|",$new_str);


print_r($first_arr);
</code></pre>

<p>OUPTUT</p>

<pre><code>Array
(
[0] =&gt; Array(0,Array(0=&gt;;sdfds)) // infact [0] =&gt; "Array(0,Array(0=&gt;;sdfds))" not array of array
[1] =&gt; Array(0,Array(1=&gt;;sa;d))  // [1] =&gt; "Array(0,Array(1=&gt;;sa;d))" not array of array
[2] =&gt; Array(1,Array(0=&gt;;xx;xxx;xxxs)) //[2] =&gt; "Array(1,Array(0=&gt;;xx;xxx;xxxs))" not array of array
)
</code></pre>

<p>MY GOAl is to get an array of array some thing like this:</p>

<pre><code>Array
  (
  0 =&gt; Array(0,Array(0=&gt;";sdfds")),//array of array
  1 =&gt; Array(0,Array(1=&gt;";sa;d")),//array of array
  2 =&gt; Array(1,Array(0=&gt;";xx;xxx;xxxs"))//array of array
  );
</code></pre>

<p>How Can I.please help ?
?></p>
