jose luis
Posts: 1
Nickname: joseteforu
Registered: Sep, 2003
|
|
populating a tree from a database
|
Posted: Sep 28, 2003 2:37 PM
|
|
Advertisement
|
Hi all. I am trying to, using recursion, populating a tree from a database. The struct of the database is as follows :
name ( char ) depth (int 1)
i.e. fruits 0 apples 1 red apples 2 milky apples 2 little red apples 3 oranges 1 red oranges 2
and so on .. My question is, how can i do it ? I've tried all the ways, but , i always get oranges hanged on little red apples. Thanks in advance.
|
|