Rasmus Lerdorf wrote:
>
> > 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 =
> 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]['recommen
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'];
3 matches
Mail list logo