I'm trying to display the associated forums inside a category during a loop in /categories/index
Array
(
[0] => Array
(
[Category] => Array
(
[id] => 1
[name] => General
[status] => 1
[order] => 1
)
[Forum] => Array
(
[0] => Array
(
[id] => 1
[category_id] => 1
[name] => Lounge
[description] => Go and lounge around
[status] => 1
[order] => 1
[total_posts] => 1
[total_threads] => 1
[created] => 2009-06-04 19:13:24
)
[1] => Array
(
[id] => 2
[category_id] => 1
[name] => Test111
[description] => Test111
[status] => 1
[order] => 1
[total_posts] => 1
[total_threads] => 1
[created] => 2009-06-04 19:16:26
)
)
)
However to get the forum's to display I need to set the array value ([0]) and obviously this isnt going to work during a foreach loop, how do I loop the categories then loop the forums inside of categories