Get array output using php
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/11189879/php-loop-through-associative-arrays">php loop through associative arrays</a>  </p>
</blockquote>



<p>i have this piece of code which gets me as an output an array like this here:</p>

<p><a href="http://penelope-ns.net/fb/fig.jpg" rel="nofollow">http://penelope-ns.net/fb/fig.jpg</a></p>

<p>How can i save the [name] as a variable $name?</p>

<p>The code i use to generate is this: </p>

<pre><code>  $fbfriendlikes[$fbid]=$facebook-&gt;api('/'.$fbid.'/likes'); ///// Add this line
</code></pre>
