Hi,
I need a help regarding binary tree. My db table structure is: ID, userid, position, referid.
Now I want to show this like binary tree:
Can anyone help me to solve this?
I need a help regarding binary tree. My db table structure is: ID, userid, position, referid.
Now I want to show this like binary tree:
Code:
1
------------------
| |
2 3
| |
--------- -----------
| | | |
4 5 6 7
Comment