Total members 9946 | Gratitudes |It is currently Thu Feb 09, 2012 2:38 am Login / Join Codemiles


All times are UTC [ DST ]




Post new topic Reply to topic  Quick reply  [ 1 post ] 
Author Question
 Question subject: need help for creatinb binary tree in php
PostPosted: Mon Mar 30, 2009 2:36 pm 
Offline
Newbie
User avatar

Joined: Mon Mar 30, 2009 2:19 pm
Posts: 1
Has thanked: 0 time
Have thanks: 0 time

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


TOP
 Profile Send private message  
Reply with quote  
Post new topic Reply to topic Quick reply  [ 1 post ] 
Quick reply


  


 Similar topics
 Topic title   Forum   Author   Comments 
 decision tree  Java  Anonymous  1
 Java Binary Tree  Collections  msi_333  0
 Binary search tree C++  C++ examples  msi_333  0
 java code for decision tree algorithm  Java  PERRYS  2
 Display data from database as Tree Structure in JSP  Servlets / JSP  AskBot  4

All times are UTC [ DST ]


Users browsing similar posts

Users browsing this forum: No registered users and 1 guest



Jump to:  
Previous Question | Next Question 




Home
General Talks
Finished Projects
Code Library
Games
Tutorials

Java
C/C++
C-sharp
php
Script
JSP/Servlets
Ajax
ASP/ASP.net
Google SEO
Database
Communications
Phpbb3 styles
Photoshop tutorials
Flash tutorials
Find a job






Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All copyrights reserved to codemiles.com 2007-2011
mileX v1.0 designed by codemiles team