Hi people
I need a help on a find query like this

Models
=======
TopicCategory => ( habtm=>Topic )
Topic => (habtm => TopicCategory, hasMany=>Post)
Post => (belongsToPost)

I need something like


--------------------
TopicCategory.title
Topic total
Post total
--------------------

HOw could be the find query for this result, that as you can see it is a forum

thanks

--
Carlos Eduardo Sotelo Pinto
    PHP Senior Web Developer
    Cell (preferred): (Mov)+51, 959980794 :: (Claro)+51, 952707662
    http://www.csotelo.org
    Skype: csotelop
    Yahoo: csotelop
    MSN: [email protected]
    GTalk: [email protected]
GPG FP:697E FAB8 8E83 1D60 BBFB 2264 9E3D 5761 F855 4F6B
GNULinux RU #379182 || GNULinux RM #277661

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to