Page 1 of 1

How to make categories in my own forum?

Posted: Wed May 26, 2004 7:34 am
by yosuke_
Hi!
Im creating my own forum. Everything works: Post, Reply, shows reply's/view's. I can create forums, but there is a litle problem. How can I create categories. I created a table for categories: ID,title. And in my Forum table there is field called categorie_id. Can anyone give me some tips how to display categories and forums. I can't seem to have any idea.
To display forums, its realy easy, just using loop, but how about categories and forums together? Thank you!

Posted: Wed May 26, 2004 9:31 am
by malcolmboston
whilst in a loop of getting the forums run a sub query to get all the categories

this would get each category for each forum

Posted: Wed Jun 09, 2004 1:48 pm
by mudkicker
is this the best solution?
i mean is there any faster way to do this?