Welcome Guest, Not a member yet? Register   Sign In
Adding Categories....table join?
#11

[eluser]afterspark[/eluser]
Ok I understand what you mean now.

I've got it working. It returns a single result. Any advice, or link that will help me to retrieve all the category names?

Thanks again, you've been a huge help.
#12

[eluser]afterspark[/eluser]
Ok I've just about go it. Here is where I'm stuck...

I'm sending my data to the view via variables ($name, $url and so on). The category name variable can contain more than one name since an article can belong to multiple categories.
I would assume I need to do a loop to display all categories that the article belongs to, but my attempts have failed both in the controller and in the view.

Any help on how I can do this would be greatly appreciated.

Thanks

afterspark




Theme © iAndrew 2016 - Forum software by © MyBB