Remove array indexes or create array without indexes
<p>So basically I have array -</p>

<pre><code>Array (
    [0] =&gt; Array 
    (
        [name] =&gt; my_name
        [year] =&gt; my_year
        [other] =&gt; Array
        (
            [0] =&gt; Yes
            [1] =&gt; No
            [2] =&gt; Other_values
        }
    )

    [1] =&gt; Array 
    (
        [name] =&gt; my_name2
        [year] =&gt; my_year2
        [other] =&gt; Array
        (
            [0] =&gt; Yes2
            [1] =&gt; No2
            [2] =&gt; Other_values2
        }   
    )
)
</code></pre>

<p>So basically I would remove the indexes from the last subArray which are both [other] arrays.</p>

<p>Well basically how I would like it to be displayed is -</p>

<pre><code>Array (
    [0] =&gt; Array 
    (
        [name] =&gt; my_name
        [year] =&gt; my_year
        [other] =&gt; Array (Yes, No, Other_values )
    )

    [1] =&gt; Array 
    (
        [name] =&gt; my_name2
        [year] =&gt; my_year2
        [other] =&gt; Array (Yes2, No2, Other_values2 )
    )
)
</code></pre>

<p>Basically without indexes.</p>

<p>Is it even possible, and if it isn't, then maybe it's possible at the creation of the array?</p>

<p>I'm creating it with the array_push(); function.</p>

<p>If you need my PHP code of the array_push(); function, just give me a notice.</p>

<p>Hope you understood what I ment, if something is unclear, you are welcome to ask me, I'll try to explain more :)!</p>
