Switch to full style
Dynamic open source server-side web development
Post a reply

need help for creatinb binary tree in php

Mon Mar 30, 2009 2:36 pm

hi
i have problem reguarding creation of binary tree in php that fetches data from database
i'm working on mlm project, for that there is admin and he have left and right leg on level zero, on level one subordinate have root as admin in level zero and they have their subordinate. i created database which contains sponser_id, id(autoincreamented) name and left and right joinig represented by 1 for present and 0 for absent.
sponser_id if same as id then that name is of which id belongs is admin for othes two.
is that logic is correct. i can't create binary tree for that one
if any code u have ,plz help me out



Re: need help for creatinb binary tree in php

Tue Jul 10, 2012 6:43 am

pls help meh also in octal and hexa..

Post a reply
  Related Posts  to : need help for creatinb binary tree in php
 Binary search tree C++     -  
 Java Binary Tree     -  
 Take tree nodes then create new tree with another root     -  
 decision tree     -  
 binary search     -  
 java tree problem     -  
 convert to binary number     -  
 Read Binary File in C++     -  
 convert string into binary     -  
 Spanning Tree Algorithm     -