Unix/Linux Go Back    


Web Programming Discuss Web Programming and Web Server Administration, including LAMP, Apache, MySQL, HTML, SEO, and other Web APIs and topics.

Problem in printing binary tree using php and mysql

Web Programming


Closed    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 3 Weeks Ago
Deepak Tiwari Deepak Tiwari is offline
Registered User
 
Join Date: Jul 2017
Last Activity: 29 July 2017, 12:51 AM EDT
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Sponsored Links
    #2  
Old Unix and Linux 3 Weeks Ago
Corona688 Corona688 is offline Forum Staff  
Mead Rotor
 
Join Date: Aug 2005
Last Activity: 18 August 2017, 6:48 PM EDT
Location: Saskatchewan
Posts: 22,336
Thanks: 1,116
Thanked 4,216 Times in 3,899 Posts
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.
Sponsored Links
Closed

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Binary search tree questions. Please help =) Jill Ceke Programming 1 12-20-2013 02:33 PM
Binary Search Tree Search problem meredith1990 Programming 1 02-27-2012 10:23 AM
Binary Tree sepoto Programming 5 04-07-2011 09:24 AM
Binary Tree Creation Using fork() learneros UNIX for Dummies Questions & Answers 1 11-02-2007 02:58 PM
Create a binary tree macvijay1985 Shell Programming and Scripting 2 10-18-2007 03:15 PM



All times are GMT -4. The time now is 04:38 PM.