Nina: Array verschönern

Beitrag lesen

Hi,

leider hab ich einen etwas unschönen Array in meinem Script, den ich gerne etwas hübscher hätte. So ist er gerade:
Array
(
    [MYAPI] => Array
        (
            [0] => Array
                (
                    [DATA] => Array
                        (
                            [0] => Array
                                (
                                    [D0] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [TITLE] => Array
                                                        (
                                                            [0] => Array
                                                                (
                                                                    [data] => foo bla
                                                                )

)

[DESCRIPTION] => Array
                                                        (
                                                            [0] => Array
                                                                (
                                                                    [data] => bar bla
                                                                )

)

)

)

[D1] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [TITLE] => Array
                                                        (
                                                            [0] => Array
                                                                (
                                                                    [data] => foo1
                                                                )

)

[DESCRIPTION] => Array
                                                        (
                                                            [0] => Array
                                                                (
                                                                    [data] => bar1 blub
                                                                )

)

)

)

)

)

[QID] => Array
                        (
                            [0] => Array
                                (
                                    [data] => xyz
                                )

)

)

)

)

Und eigentlich ist es doch immer das selbe: [0]['data'] könnte man sich doch eigentlich sparen. Könnt ihr mir bitte verraten, wie sich das vereinfachen lässt damit die überflüssigen Untergliederungen wegfallen?

Danke für diesen Fall schonmal