[eluser]danmontgomery[/eluser]
Why not just do that in the query you're using to fetch the blog?
You haven't posted the model so I can't speculate what your query looks like, but it should be something like:
Code:
$this->db->select('Blog.*, GROUP_CONCAT(DISTINCT Category.CategoryName SEPARATOR ", ") AS categories', FALSE)
->join('BlogCategory', 'BlogCategory.BlogID = Blog.BlogID', 'left')
->join('Category', 'BlogCategory.CategoryID = Category.CategoryID', 'left')
->group_by('Blog.BlogID')
->order_by('Blog.BlogPostDate', 'DESC')
->limit(10)
->get('Blog');