How to write this array as a php loop
<p>I have the follow array, how do I write a loop to list the name and id?</p>

<pre><code>Array
(
[data] =&gt; Array
    (
        [0] =&gt; Array
            (
                [name] =&gt; Test name
                [id] =&gt; 110
            )

        [1] =&gt; Array
            (
                [name] =&gt; Test name 2
                [id] =&gt; 111
            )

        [2] =&gt; Array
            (
                [name] =&gt; Test name 3
                [id] =&gt; 124
            )

        [3] =&gt; Array
            (
                [name] =&gt; Test name 4
                [id] =&gt; 105
            )

        [4] =&gt; Array
            (
                [name] =&gt; Test name 5
                [id] =&gt; 56
            )

    )
</code></pre>

<p>)</p>

<p>Thanks for any help :)</p>
