Steph
Sat 1st Jun '02, 7:08am
Hi! Im attempting on creating a database of review articles. THe part Im having difficulty with is category and subcategory support.
This is what I was thinking but I have no idea if Im on the right track or not.
Best place to start is MySQL database....
id | cat_name | parent_id
1 | cat1 | 0
2 | cat2 | 1
3 | cat3 | 2
4 | cat4 | 1
I used "0" to designate that as a main category.
OK. Am I at least going in the right direction???
~Steph
This is what I was thinking but I have no idea if Im on the right track or not.
Best place to start is MySQL database....
id | cat_name | parent_id
1 | cat1 | 0
2 | cat2 | 1
3 | cat3 | 2
4 | cat4 | 1
I used "0" to designate that as a main category.
OK. Am I at least going in the right direction???
~Steph