title: Accessing Object within Array
body: <p>I have the following output:</p>
  
  <pre><code>Array (
    [0] =&gt; stdClass Object (
          [id] =&gt; 20
          [news_title] =&gt; Startup finance docs in GitHub
          [news_url] =&gt; http://venturebeat.com/2013/03/06/fenwick-west-github/
          [news_root_domain] =&gt; venturebeat.com
          [news_category] =&gt;
          [news_submitter] =&gt; 4
          [news_time] =&gt; 2013-03-06 11:20:03
          [news_points] =&gt; 0
      )
      [1] =&gt; stdClass Object (
          [id] =&gt; 21
          [news_title] =&gt; The problems with righteous investing
          [news_url] =&gt; http://gigaom.com/2013/03/07/the-problems-with-righteous-investing/
          [news_root_domain] =&gt; gigaom.com
          [news_category] =&gt;
          [news_submitter] =&gt; 4
          [news_time] =&gt; 2013-03-08 09:14:17
          [news_points] =&gt; 0
      )
  )
  </code></pre>
  
  <p>How would I access something like news_url in these? I've tried this, but to no avail:</p>
  
  <pre><code>print_r $this-&gt;$record[0]-&gt;news_title;
  </code></pre>