I have a merged array which produces

$new = array_merge($newSelections[$model_table],$additional_options);
 
Array
(
    [0] => Array
        (
            [id] => 9
            [name] => Confident
            [UsersOption] => Array
                (
                    [id] => 222
                    [user_id] => 4a5d323f-b9e8-416d-b34c-11cf4adcd75b
                    [option_id] => 9
                )

        )

    [0] thru [9] same as above structure........

    [10] => ghjghjghj
    [11] =>  tet
)

How can I make it so 

[10] => Array
        (
                [name] => ghjghjghj
        )

So I can loop thru all the results in a foreach ['name']
Thanks

Dave


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

Reply via email to