Problem in printing binary tree using php and mysql

Tags
web

 
Thread Tools Search this Thread
# 1  
Old 07-25-2017
Problem in printing binary tree using php and mysql

Database Structure

Root Table

ID Root_ Node Level
1 A 0
2 B 1
3 C 1


Child Table

ID Left_Node Right_Node Root_Node Root_ID
1 B C A 1



I need to print up to 20 level.
# 2  
Old 07-25-2017
Do not post classroom or homework problems in the main forums. Homework and coursework questions can only be posted in this forum under special homework rules.

Please review the rules, which you agreed to when you registered, if you have not already done so.

More-than-likely, posting homework in the main forums has resulting in a forum infraction. If you did not post homework, please explain the company you work for and the nature of the problem you are working on.

If you did post homework in the main forums, please review the guidelines for posting homework and repost.

Thank You.

The UNIX and Linux Forums.

|
Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
Append two lines of text to php.ini in the entire directory tree.e Larrykh465 UNIX for Dummies Questions & Answers 6 09-05-2015 05:21 PM
PROBLEM with another binary file protocomm Shell Programming and Scripting 21 02-04-2015 11:39 AM
Problem with binary file protocomm Shell Programming and Scripting 8 01-18-2015 07:23 AM
Binary search tree questions. Please help =) Jill Ceke Programming 1 12-20-2013 03:33 PM
Migration of website... PHP/Mysql -which path for DB.php Astrocloud Emergency UNIX and Linux Support 15 05-30-2012 03:15 AM
Binary Search Tree Search problem meredith1990 Programming 1 02-27-2012 11:23 AM
Problem with PHP and Mysql integration naw_deepak Shell Programming and Scripting 2 10-31-2011 04:55 PM
Binary Tree sepoto Programming 5 04-07-2011 10:24 AM
Binary Tree Creation Using fork() learneros UNIX for Dummies Questions & Answers 1 11-02-2007 03:58 PM
Create a binary tree macvijay1985 Shell Programming and Scripting 2 10-18-2007 04:15 PM
Creating breadth traversal binary tree slurpeyatari Shell Programming and Scripting 3 08-11-2005 04:28 PM
Problem with PHP and MySQL Danny_10 Shell Programming and Scripting 11 04-29-2004 11:55 AM
MySQL problem >> missing mysql.sock _hp_ UNIX for Advanced & Expert Users 8 11-03-2002 02:44 PM