TalkPHP

TalkPHP (http://www.talkphp.com/forums.php)
-   General (http://www.talkphp.com/general/)
-   -   Unlimited Sub categories (http://www.talkphp.com/general/1764-unlimited-sub-categories.html)

Nor 12-18-2007 06:09 PM

Unlimited Sub categories
 
Never done it before so can someone explain how they would basically get infinite subcategories.

IE:
C1
CC1
CCC1
CC2
CCC2
CCCC3

And so on. I know this might have to use some recursive, but I don't know how to set it up. Been wondering this for a while..

bdm 12-18-2007 07:24 PM

You have a variety of options. :-)

http://dev.mysql.com/tech-resources/...ical-data.html
http://www.sitepoint.com/article/hie...ata-database/2

I also posted some code at http://www.talkphp.com/showpost.php?p=5965&postcount=4

Nor 12-19-2007 04:12 PM

Thanks for the links.

Nor 01-09-2008 07:40 PM

Quote:

Originally Posted by bdm (Post 6827)

now that I think of it that isn't what I wanted but I figured it out.


All times are GMT. The time now is 10:10 AM.

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0