Quote:
Originally Posted by Mist
Basically when you make your function youc all the function within it but that's essential to learning how to do this kind of thing 
|
Thanks Mist, I know what recursive functions are , but arggghh i hate using them in programming lol

But even then I do not quite see how they can be used for sub cats ... could you elaborate further ?
Quote:
Originally Posted by Anime-loo
The best way to do this is to add a new colum to the categories table called 'parentid'. 'parentid' will contain the id of the of the categorie your sub-cat belongs to.
|
Thanks Brad.
What happens if a cat is not a subcat, ie a parent category ?
Sorry but am pretty new to this