>   I've got an array that is 5 arrays deep, and I want to copy the array
> three levels down of one index into a new array.
>
>   Example: $output['recommendernames'][0]['recommendername'][0]['com'];
>
>   This is what I want to do:
>
>        $newoutput = $output['recommendernames'][0]['recommendername'];
>
>   So that newoutput is an array that is two arrays deep:
> $newoutput[0]['com']
>
>   Is there a special function for this?

None needed.  You just did it.

-Rasmus


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to