Exploding Nodes Recursively
| From: | Russell Griechen | Date: | Sat, 01 Feb 2003 23:56:12 +0000 |
| Subject: | Exploding Nodes Recursively | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-25333@lists.php.net to get a copy of this message | ||
Explode all folders to all levels?
A exploding nodes...
A drop down lets user select number of generations and the execution shows
the trees being populated...
I have been trying to find the code to execute this MySql
table Dogs:
ID AutoNumber Primary Key
RegName Text
Sex Yes/No
Dame Long Int Indexed, Dups OK
Sire Long Int Indexed, Dups OK
table DogTree:
ID Long Int Primary Key
Generation Long Int
RegName Text
Sex Yes/No
Dame Long Int Indexed, Dups OK
Sire Long Int Indexed, Dups OK
They could have more fields, but the essential data is in
the ID, Dame and Sire fields. The Dame and Sire fields are
foreign keys back to the ID field in the Dogs table itself.