Go Back   SitePoint Forums > Forum Index > Program Your Site > PHP
Newsletter FAQ Members List Calendar Mark Forums Read

New to SitePoint Forums? Register here for free!

SitePoint Sponsor
 
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old Sep 8, 2008, 08:21   #1
risoknop
SitePoint Guru
 
risoknop's Avatar
 
Join Date: Feb 2008
Location: end($world)
Posts: 766
A quick question

I would like to ask what is the best way to handle categories in a content managements system.

Is the best way to have a separate table in the database just for the categories?

And finally, how to track to which categories an article is assigned in table that contains articles? The problem is, an article can be assigned to more than one category - so a column in articles table won't be enough for that.

I have been thinking about some smart solution for this but I haven't found any.
risoknop is offline   Reply With Quote
 

Bookmarks

« Previous Thread | Next Thread »

Thread Tools
Display Modes

 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Sponsored Links
 
Forum Jump


All times are GMT -7. The time now is 00:08.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Copyright 1998-2009, SitePoint Pty Ltd. All Rights Reserved