Navigating objects and arrays
<p>Can you please show me an example in php on how to grab specific information in a loop of some kind, I want to access <code>[language]</code> and  <code>[answer] =&gt;  [question] =&gt;</code> everytime it is there.  Thanks</p>

<pre><code>Array    (

    [0] =&gt; stdClass Object
        (
            [type] =&gt; text
            [cue] =&gt; stdClass Object
                (
                    [type] =&gt; text
                    [text] =&gt; pri
                    [sound] =&gt; 
                    [language] =&gt; eo
                    [part_of_speech] =&gt; Preposition
                )

            [responses] =&gt; Array
                (
                    [0] =&gt; stdClass Object
                        (
                            [type] =&gt; meaning
                            [text] =&gt; about, concerning
                            [language] =&gt; en
                            [quizzes] =&gt; Array
                                (
                                    [0] =&gt; stdClass Object
                                        (
                                            [type] =&gt; multiple_choice
                                            [answer] =&gt; pri
                                            [question] =&gt; about, concerning
                                        )

                                )

                        )

                )

            [author] =&gt; stdClass Object
                (
                    [profile] =&gt; stdClass Object
                        (
                            [name] =&gt; Tomo
                            [profile_url] =&gt; http://smart.fm/users/yubizume
                            [icon_url] =&gt; http://assets2.smart.fm/assets/users/yubizume/e1b0e7f8_medium.jpg
                        )

                    [username] =&gt; yubizume
                )

            [language] =&gt; eo
            [dc_creator] =&gt; yubizume
            [href] =&gt; http://smart.fm/items/830187
            [id] =&gt; 830187
        )

    [1] =&gt; stdClass Object
        (
            [type] =&gt; text
            [cue] =&gt; stdClass Object
                (
                    [type] =&gt; text
                    [text] =&gt; pri
                    [sound] =&gt; 
                    [language] =&gt; eo
                    [part_of_speech] =&gt; Preposition
                )

            [responses] =&gt; Array
                (
                    [0] =&gt; stdClass Object
                        (
                            [type] =&gt; meaning
                            [text] =&gt; about, concerning (prep)
                            [sound] =&gt; http://assets0.smart.fm/assets/generated_sounds/2009111923/a857356fb588022411fa21371a96e494.mp3
                            [language] =&gt; en
                            [quizzes] =&gt; Array
                                (
                                    [0] =&gt; stdClass Object
                                        (
                                            [type] =&gt; multiple_choice
                                            [answer] =&gt; pri
                                            [question] =&gt; about, concerning (prep)
                                        )

                                )

                        )

                )

            [author] =&gt; stdClass Object
                (
                    [profile] =&gt; stdClass Object
                        (
                            [name] =&gt; AriadneAranea
                            [profile_url] =&gt; http://smart.fm/users/AriadneAranea
                            [icon_url] =&gt; http://a1.twimg.com/profile_images/489977042/2009-01_-_New_Year_at_Slimbridge_02_bigger.jpg
                        )

                    [username] =&gt; AriadneAranea
                )

            [language] =&gt; eo
            [dc_creator] =&gt; AriadneAranea
            [href] =&gt; http://smart.fm/items/1773996
            [id] =&gt; 1773996
        )
</code></pre>
