Hi
I have a simple cakephp app with table "articles" that has a "cat_id" column to reference a "id" column of categories in a "cats" table.
What I would like to do is display all categories names, each followed with a count of the number of articles belonging to that category.
I know there is a find('count') function in cakephp, but that only working on one table/field. How do I link the two tables to get a list of category names and count of articles for each category for my view?
Thanks