How to create the category subcategory auto load in yii
How to create the category subcategory auto load in yii
Can U please explain this a bit more ?
you are trying load the subcategories for category define a simple one-to-many association and should be able to call
$category->subcategories
http://www.yiiframework.com/doc/guide/1.1/en/database.arr#declaring-relationship