logictrap
04-14-2008, 09:53 PM
I am working on a news system that has a dynamic list of categories. I want to be able to have articles that can appear in multiple categories.
Currently there is a table setup to manage the categories where each category has a title and a numeric id.
I need some advice finding a method for assigning multiple categories to an article and then how to retrieve articles based on individual category ids.
(ie can the categories be stored in a single field? if so, what is the correct data type?)
Any help is appreciated.
Thanks - LT
Currently there is a table setup to manage the categories where each category has a title and a numeric id.
I need some advice finding a method for assigning multiple categories to an article and then how to retrieve articles based on individual category ids.
(ie can the categories be stored in a single field? if so, what is the correct data type?)
Any help is appreciated.
Thanks - LT