hi there

how can i get Associations like that:

I have a Profile which has many Messages
and i want the related Profile for each of the Messages.


Array
(
    [Profile] => Array
        (
            [id] => anyid
            [somedata] => somedata
        )

    [Message] => Array
        (
            [0] => Array
                (
                    [Message] => Array
                        (
                           [id] => anyid
                           [somedata] => somedata

                        )
                    [Profile] => Array
                        (
                           [id] => anyid
                           [somedata] => somedata

                        )

                )
            [1] => Array
                (
                    [Message] => Array
                        (
                           [id] => anyid
                           [somedata] => somedata

                        )
                    [Profile] => Array
                        (
                           [id] => anyid
                           [somedata] => somedata

                        )

                )

        )

)

Thx for your answers

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