On Jun 2, 6:13 pm, dyml <[email protected]> wrote:

> Anyway, i hope you understood what i meant. How can i do this, is it
> possible to select data from multiple tables in one model?


Forgive me if this is an oversimplification of your problem, but it
sounds like you need to establish some associations between your
models.  Take a look in the Cake docs:
http://book.cakephp.org/view/78/Associations-Linking-Models-Together
and you may find it enlightening.

Once that is set up properly, you can just do the appropriate Find()
on your model and all of the data you want will be returned in an
array.

Good luck!
Ian

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