NYCPHP Meetup

NYPHP.org

[nycphp-talk] Building trees

Adam Fields fields at surgam.net
Wed Oct 16 19:48:34 EDT 2002


On Wed, Oct 16, 2002 at 06:41:03PM -0400, max goldberg wrote:
> I wrote something similar to what you are describing for a personal 
> project a while back. On the SQL side it's a pretty simple layout,
> every record has a parent id, and from that I can figure out all the 
> children by making a quick and dirty index before hand.
> 
> Check out (sorry if the url offends) 
> http://www.fuck.org/~max/traverse.phps for the example
> and http://www.fuck.org/~max/traverse.php for the output.
> 
> Sorry if the code is a bit dirty, it's kind of old. =)

What did you use to generate the source listing?

-- 
				- Adam

-----
Adam Fields, Managing Partner, fields at surgam.net
Surgam, Inc. is a technology consulting firm with strong background in
delivering scalable and robust enterprise web and IT applications.
http://www.adamfields.com



More information about the talk mailing list