PHP array foreach issue
<p>I have an array that I can't seem to get my data back out of. What I would like is for each name (test1...) to have multiple urls associated with them. If you look at the last test (test5), there are 2 urls but this foreach loop only gives me one. Why?</p>

<p>Here is the array structure and my foreach loop.</p>

<pre><code>Array
(
    [test1] =&gt; Array
        (
            [0] =&gt; http://www....
        )

    [test2] =&gt; Array
        (
            [0] =&gt; http://www....
        )

    [test3] =&gt; Array
        (
            [0] =&gt; http://www....
        )

    [test4] =&gt; Array
        (
            [0] =&gt; http://www....
        )

    [test5] =&gt; Array
        (
            [0] =&gt; http://www.yahoo.com
            [1] =&gt; http://www.google.com
        )

)
</code></pre>

<p><hr></p>

<pre><code>foreach($source as $name=&gt;$url)
{
    foreach($url as $_url);
    {
      echo $name.' - ';
      echo $_url.'&lt;br&gt;';
    }
}
</code></pre>
