> That's not a bug. Data is always returned in this format: > > Array > ( > [ModelName] => Array > ( > [fieldname1] => 'value' > [fieldname2] => 'value' > ) > )
Am I correct in my thinking that the reason data is returned this way is for the scenario where a model has an association, e.g. if post had a user: Array ( [Post] => Array ( [field1] => 'value', [field2] => 'value' ) [User] => Array ( [field1] => 'value', [field2] => 'value' ) ) Troy. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---