I feel really stupid asking this but:
I have this script that is a link directory, I am try to create a function that makes a "breadcrum"(think thats what you call it) thing for each category in the database all listed in a drop down menu. The category table has the following columns:
category_id <= categories ID number
category_name <= Name of the cat
parent_id <= Parent cats ID number, NULL if its a top cat
category_added <= date cat was added
I just can't get it right, one time I was close but for some reason it showed each cat twice and didn't always have the full breadcrum! So if anyone could set me on the right track that would be nice. Thanks