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
Tue Jul 10, 2012 6:43 am
pls help meh also in octal and hexa..
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com
Powered by phpBB © phpBB Group.