Re: Pedigree question

From: Date: Mon, 07 Oct 2002 00:59:35 +0000
Subject: Re: Pedigree question
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-22241@lists.php.net to get a copy of this message
Yes, there are. There is a pretty good php code, called HTML Tree which can make trees, dynamically. Regarding the coding itself...you can have a simple table that records who is ancestor of who. This is a solution. Another one, which is not so neat is to create a table with 5 columns...one per generation. Does this make sense? Mihai On Sun, 6 Oct 2002, Russell Griechen wrote: > I need to develop a tree-like pedigree of animals up to 5 generations. > I know there are other attributes to the animal; but do I need anyother > tables...assuming that I can develop all the code to generate these > ancestors. > I have developed a CSS positioning code that will place these results in a > neat 5 generation tree. > Is there any other alternatives? > > Animal > ID > Name > > Foal > ID > SireID > DamID > > Russell Griechen > htttp://sportsmenafield.com > Russell Griechen > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.db (#22241) next »