I have in a database:
table 1) catid, parentid ...
table 2) linkid, textid (linkid is the same as catid)
table 3) textid...
I want this to be viewed on a page, and every time a category has a subcategory, it will show a table with all the subcategories to choose from.
EG:
- Book Name, Book Chapter, TEXT
- Book Name, Book Chapter, Book Sub Chapter, TEXT
Every time a category is clicked on, it changes in the URL, but it stops after the first category. (i think something is needed in htaccess to tell it to allow infinite query levels eg: ?a=1&b=2&c=3...etc)
EG:
- [login to view URL]
- [login to view URL]
MOST OF THE CODE IS ALREADY DONE. THE CURRENT SCRIPT WORKS UNTIL AFTER IT GETS TO THE FIRST CATEGORY. (meaning any more than 1 category and the script thinks it is meant to show 'text' rather than another category)
If you are interested, I will send you a link to the current website so you can see what has been done.