title: How to echo single value from multidimensional array when key is numeric?
body: <p>Take this array as an example </p>
  
  <pre><code>Array
  (
  [events] =&gt; Array
      (
          [0] =&gt; Array
              (
                  [event] =&gt; Array
                      (
                          [category] =&gt; seminars,sales
                          [status] =&gt; Live
  </code></pre>
  
  <p>How do I retrieve the value of category? I've tried various combinations such;</p>
  
  <pre><code>echo $array-&gt;events-&gt;events[0]-&gt;event-&gt;category;
  </code></pre>
  
  <p>So simple, yet I just can't figure it out. </p>
  
  <p>Sorry for the lame question.</p>