> 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 cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---
No comments:
Post a Comment