Displaying location tree.

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
satikas
Forum Newbie
Posts: 19
Joined: Sat Mar 28, 2009 9:14 am

Displaying location tree.

Post by satikas »

Hi, since I have no idea where to start and what to use, I have come here for some ideas.

What have developers used to achieve location menus such as:
You are browsing: Fun stuff > Colors > Yellow > Light tones...
Do they use php sessions, mysql queries?

Any help, ideas, links, much appreciated.
User avatar
requinix
Spammer :|
Posts: 6617
Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA

Re: Displaying location tree.

Post by requinix »

Most often, databases.

Whatever the user is viewing belongs in some sort of category. That category is a child category of something else, which is a child category of something else... all the way up to the root (in your example, "Fun stuff").
A database table holds all that information.
Post Reply