View Single Post
  #3 (permalink)  
Old May 24th, 2006, 11:12 AM
harpua harpua is offline
Friend of Wrox
 
Join Date: Jun 2003
Location: Oklahoma City, Oklahoma, USA.
Posts: 249
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Well I think generally with this forum people will help more if there is actual code, I have been using this forum for years and have learned alot from everybody.

Anyway, this is really just a heirarchy and you can create it as deep as you want.
Category
    Sub Category
       Sub Category
            Article

What I usually do is basically like this. Create a table to hold my categories. Then when you edit the article itself create another field in the form and article table for the categories. Now you will have a link between the categories and the articles.

Then on your main page when the user selects the category they wish to read about. The articles pertaining to that category are selected through the category field on the article table.

peace
mike
Reply With Quote