>        foreach($menus['Section']['Menu'] as $menu) {

Hi,

it' hard to read code in the google layout... especially pr()
output...;)
looks like the array is numeric...
try:
foreach($menus as $menu) {
    echo $menu['Section']['id'];
    pr($menu['Menu']);
    ...
}

greets,

f.



Array (
    [0] => Array (
        [Section] => Array (
            [id] => 1
            [name] => topnav
            )
        [Menu] => Array (
            [0] => Array (
                [id] => 1
                [name] => Home
                [path] => /
            )
            [1] => Array (
                [id] => 2
                [name] => News
                [path] => /posts/
            )
        )
    )
)


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to