i,
I'll start by saying I'm not a programmer, just someone who dabbles
from time to time (and have since assembly on a 6502...).
My current 'exercise' has hit a bit of a wall. I wish to display a
btree type load of data (actually a genealogy pedigree which I already
have loaded in a database) in the following type layout:
+--James Trethewy
+--Richard Trethewy
| +--Mary Williams
Robert Trethewy
| +--William Hawkins
+--Joan Hawkins
I can find all sorts of algorithms for outputting btrees, but not in
this form. It would be easy if I knew it was a balanced tree and how
many levels it was, but such things aren't to be.
Does anyone have anything that will do this? If not, pointers to some
code (any language will do), or some reading I should be attending to?
Cheers
Kevin
--~--~---------~--~----~------------~-------~--~----~
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[email protected]
-~----------~----~----~----~------~----~------~--~---