title: How to get content from array
body: <p>I'm total newbie to PHP and Drupal but I fix this simple(?) thingo on my template. I want to get title, date, text and link path from this array? I can't get it out of there. I think its because its in inside of another array and because im noob in PHP I cant get it out of there ? Also I would like to get it to a loop. If theres more content, I would get it as a list or something. I would use foreach for this? Like foreach $contents as $content and so on?</p>
  
  <p>I get this output from this: <code>var_dump($contents);</code></p>
  
  <pre><code>array
  'total' =&gt; string '1' (length=1)
  'data' =&gt; 
    array
      0 =&gt; 
        array
        'cid' =&gt; string '13231' (length=3)
        'title' =&gt; string 'TITLEBLABLABLA' (length=3)
        'body_text' =&gt; string 'TEXTBLABLABAL' (length=709)
        'created' =&gt; string '313131' (length=10)
        'created' =&gt; string '2010-07-13 14:12:11' (length=19)
        'path' =&gt; string 'http://goog.fi' (length=72)
  </code></pre>