Page 1 of 1

number of categories? (theory)

Posted: Mon Mar 13, 2006 11:39 am
by ddragas
Hi all

I'm building CMS for customer who want's to have web shop. I'm stuck with categories of products.

How to make possible to have unlimited number of categories? (Interested on theory)

Also need is posibility of inserting into category mixed categories and products

Posted: Mon Mar 13, 2006 12:10 pm
by feyd
mixed categories? you mean subcategories? That's a tree heirarchy then. If only one tier is required, you can use a simple "id, parent_id" style table structure, however if multi-tier is the goal, likely a presorted tree is in order: viewtopic.php?t=42828 may be of interest