logic for displaying hierarchical data (ala windows explorer)

From: Date: Mon, 15 Dec 2003 20:14:32 +0000
Subject: logic for displaying hierarchical data (ala windows explorer)
Groups: php.general 
Request: Send a blank email to php-general+get-172754@lists.php.net to get a copy of this message
Hi everyone, Last Friday I struggled for a long time with displaying some data that's stored using the Modified Preorder Tree Traversal method. Without making this email overly long and complicated (like my first draft was) I'd like to simply ask if someone has any links or functions or instructions they can give me on how to display my data in such a way. I want the following: Level 1A |--Level 2A | \--Level 3A | |--Level 4A | | \--Level 5A | \--Level 3B |--Level 2B | \--Level 3C \--Level 2C \--Level 3D What I always end up with is this (or some variant of it): Level 1A |--Level 2A | \--Level 3A | | |--Level 4A | | | \--Level 5A | | \--Level 3B |--Level 2B | \--Level 3C \--Level 2C | \--Level 3D Any help is appreciated. Chris.

« previous php.general (#172754) next »