Hi
I'm starting work on a web page that stores a bunch of links to other sites, and it's divided into a large number of categories, each one with its own sub-categories...
So my plan was to represent this as a tree (similar to windows explorer) and whenever the user clicks on a category (to open it up) it submits the page to itself and re-calculates the new tree with all the new subcategories...
At the moment I'm storing all the links and categories in an SQL database... And so I need it to be dynamic (ie. I can easily add new links/categories)
Anyway, I'm really not sure how to do this. I've heard of creating session_id's in the database but I don't know much about it. Would that be a good idea?
I think the alternative would be to pass the new tree format through the browser... But since it needs to be dynamic, I don't know how this would work either.
If anyone can point me in the right direction (I just need some general advice, I'm not trying to find someone else to solve this problem for me) I would be _very_ appreciative.
THANKS
I'm starting work on a web page that stores a bunch of links to other sites, and it's divided into a large number of categories, each one with its own sub-categories...
So my plan was to represent this as a tree (similar to windows explorer) and whenever the user clicks on a category (to open it up) it submits the page to itself and re-calculates the new tree with all the new subcategories...
At the moment I'm storing all the links and categories in an SQL database... And so I need it to be dynamic (ie. I can easily add new links/categories)
Anyway, I'm really not sure how to do this. I've heard of creating session_id's in the database but I don't know much about it. Would that be a good idea?
I think the alternative would be to pass the new tree format through the browser... But since it needs to be dynamic, I don't know how this would work either.
If anyone can point me in the right direction (I just need some general advice, I'm not trying to find someone else to solve this problem for me) I would be _very_ appreciative.
THANKS