Post subject: need help for creatinb binary tree in php
Posted: Mon Mar 30, 2009 2:36 pm
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
Users browsing this forum: No registered users and 1 guest
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum