Wednesday, September 2, 2009

Re: Can select forms not return an array?

This is what is being generated:

Array
(
[Devotion] => Array
(
[name] => testcase
[description] => A cool Test case
)

[Disciplines] => Array
(
[0] => Array
(
[discipline_id] => Array
(
[0] => 4
)

[discipline_level] => Array
(
[0] => 2
)

)

)

)


I need it to look like this:

Array
(
[Devotion] => Array
(
[name] => testcase
[description] => A cool Test case
)

[Disciplines] => Array
(
[0] => Array
(
[discipline_id] => 4

[discipline_level] => 2

)

)

)

--~--~---------~--~----~------------~-------~--~----~
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: