We have categories set up and I was using PHP to make searches on this.  It was 
working nicely and the categories were auto incremented as new ones were added.

Now we're adding sub categories and the categories are all labelled the same way....

When I load one page I use PHP to generate a drop down box of the categories and this 
is easy but now I need to do sub categries as well...  Anyone have a way to do this in 
mind?  Like how can I do both.

Should I create a new table to hold these sub categories and enter them in but somehow 
link them to the main categories?  So when building thedrop down boxes it wouldbe like:

Computers - Programming (value of this would be something like 1/8) I would then split 
the two values to do searches?

Jeff

Reply via email to