converting array to another array
<p>hello friends I have this array</p>

<pre><code>    Array
(
    [fieldset_name] =&gt; Personal Details
    [field_name] =&gt; applicant_name
    [field_label] =&gt; Your Name
    [field_type] =&gt; text
    [css_classes] =&gt; required
    [minlength] =&gt; 4
    [maxlength] =&gt; 10
    [default_value] =&gt; 
    [help_text] =&gt; 
)
Array
(
    [fieldset_name] =&gt; Personal Details
    [field_name] =&gt; applicant_address
    [field_label] =&gt; Address
    [field_type] =&gt; textarea
    [css_classes] =&gt; required
    [minlength] =&gt; 4
    [maxlength] =&gt; 10
    [default_value] =&gt; 
    [help_text] =&gt; 
)
</code></pre>

<p>and I want the result should be as </p>

<pre><code>Array(
 "Personal Details" =&gt; array(
   array(
     'fieldset_name' =&gt; "Personal Details"
     field_name =&gt; applicant_name
     field_label =&gt; Your Name
   ),
   array(
     'fieldset_name' =&gt; "Personal Details"
     field_name =&gt; applicant_address
     field_label =&gt; Address
   ),

 )
)
</code></pre>

<p>So how to do this</p>
