On Mar 6, 5:13 pm, weckmann <[email protected]> wrote: > How would I need to link the models together and how do I need to form > the count?
I would suggest taking a look here about associating models: http://book.cakephp.org/view/78/Associations-Linking-Models-Together The count can be specified in the 'fields' array of a $this->Model- >find call. However, you may run into the issue where the calculated value is stored in results as the 0th index of the model you're counting on (no pun intended). > I've tried a lot of things in quiet a lot of hours and googled around > for days but was not able to find a working solution. So this is my > last hope.. *crossing fingers* Post here what you've tried. Have you already read through the Cake manual (http://book.cakephp.org) thoroughly? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
