Thursday, February 26, 2009

Re: Adding multiple tags at the same time

On Feb 26, 7:12 pm, Xoubaman <xouba...@gmail.com> 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 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: