im trying to make my site show the current category and then the parent categories so it shows all of the parent categories back to the root. So to put it simply i want it to do this…
fig1
main cat > another cat > some other cat > another
i sort of have this on the code side through the url, as in it says
fig2
http://www.mysite.com/thecategorysection/thecat
(thing is it doesn’t show all of the cats in the url) its put to the php script for all .htaccess rather than code it to the .htaccess
the sql is…
id - parentid - name
1 - 0 - name
2 - 0 - anothername
3 - 1 - anothernothername
4 - 2 - something else
So thats pretty much it, i had a look around for tutorials on how to make it show fig1 on the page, there a few bits like the one on zend.com, but it won’t show anything. Does anyone have any code snippets or ideas where i can access tutorials that work, thanks in adavance