PHP- Multidimensional array combine
<p>My problem was</p>

<p>In PHP i am having 2 multidimensional arrays. such as:</p>

<p><strong>array 1:</strong></p>

<pre><code>Array                                                                                     
(
    [0] =&gt; Array
        (
            [0] =&gt; 1
            [1] =&gt; 2
            [2] =&gt; 3
        )

    [1] =&gt; Array
        (
            [0] =&gt; 1
            [1] =&gt; 2
            [2] =&gt; 3
        )

)
</code></pre>

<p><strong>Array 2:</strong></p>

<pre><code>Array
(
    [0] =&gt; Array
        (
            [0] =&gt; 4
            [1] =&gt; 5
            [2] =&gt; 6
        )

    [1] =&gt; Array
        (
            [0] =&gt; 7
            [1] =&gt; 8
            [2] =&gt; 9
        )


)
</code></pre>

<p>am getting these two output .for that i need to combine these tow arrays.</p>

<p>i need first array values should be the key of resulting array
second array values should be the values of resulting array...</p>

<p>i need the output like this format</p>

<pre><code>Array
(
    [0] =&gt; Array
        (
            [1] =&gt; 4
            [2] =&gt; 5
            [3] =&gt; 6
        )

    [1] =&gt; Array
        (
            [1] =&gt; 7
            [2] =&gt; 8
            [3] =&gt; 9
        )
)
</code></pre>

<p>any help...</p>
