I'm having array block, trying to format the data in a two dimensional
associative array.

$menu = array (
        'link1' => array(
                'url' => 'foo',
                'title' => 'bar'
                ),
        'link2' => array(
                'url' => 'foo',
                'title' => 'bar'
                )
);

foreach($menu as $k => $v) { etc..

need to end up with
<a href=url title=title>link(x)</a>

Can't seem to put this together in my head. Long day I guess.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to