On Feb 26, 7:12 pm, Xoubaman <[email protected]> wrote:
> I'm sure there is a more elegant way to do this (or simply actually do
> this). Any suggestions?

Try getting rid of the second "Tag" subarray, so that it looks like
this:

Array
(
    [Robot] => Array
        (
            [name] => The name
            [description] => The description
        )

    [Tag] => Array
        (
            [0] => Array
                (
                        [id] => tag1
                )
            [1] => Array
                (
                        [id] => tag2
                )
        )
)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
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