in reply to Cleaner code to build hierarchical display of page names
This isn't really your question, but I recommend reading up on many of the design patterns for storing and accessing trees in databases. Here's a great start:
Many other designs are much faster than the parent/child design. But that may not be important in your case.
-Dan
|
|---|