Output from this array
<pre><code>array(2) {
  [0]=&gt;
  array(4) {
    ["id"]=&gt;
    string(1) "1"
    ["name"]=&gt;
    string(3) "Lim"
    ["subproject_id"]=&gt;
    string(1) "5"
    ["subproject_name"]=&gt;
    string(4) "Mads"
  }
  [1]=&gt;
  array(1) {
    [0]=&gt;
    array(4) {
      ["id"]=&gt;
      string(1) "1"
      ["name"]=&gt;
      string(3) "Lim"
      ["subproject_id"]=&gt;
      string(1) "4"
      ["subproject_name"]=&gt;
      string(5) "KANYE"
    }
  }
}
</code></pre>

<p>How can I output each <code>name</code> and <code>subproject_name</code>?</p>

<p>A simple <code>foreach()</code> will only get the first one.</p>
