|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
You don't need a fax machine to get faxes. Get a fax-to-email fax number from CallWave. Try it free.
|
|
#1
|
||||
|
||||
|
Plotting tree from database
Everybody in this forum must have seen trees ans studied them(Data Structure not the one in your garden or woods
)How Can I plot a tree Using PHP/MySQL? I know I need 3 columns and I tried it but failed badly. I don't want to share my code (it will tell the world How bad programmer I am) But the problem still persisted. I even don't know where to put this question so I posted it here.
__________________
Kumar Chetan ----- 7+ Yrs of PHP/MySQL/JS/CSS/HTML/XHTML _SelfProcclaimedGuru To err is human. To blame your computer for your mistakes is even more human, it is downright natural. |
|
#2
|
||||
|
||||
|
Hi!
What specifically is the problem? Finding a table schema or mapping the trees to that mysql schema? On mysql aspects there's a thread here: http://forums.devshed.com/showthrea...35037&forumid=4 Also some code has been discussed there: http://forums.devshed.com/showthrea...35039&forumid=5 Regards, Atrus.
__________________
Webmaster - Stefan Meier KG TABAKWAREN - Pfeifen, Premium-Zigarren, ... (_Ger) |
|
#3
|
||||
|
||||
|
Actually Both
I wanted to develop a finction to display all the threads of post. I am making a discussion board. i found that It is like a tree structure(may be i am wrong). Let me xplain it.
I have a root topic which is branch of a forum category. now this topic can have too many branches but all branches will have some preecidings. I am developing a function to display a topic and it replies. Thats all. (I could have copied some one's code but i want to make my own. ) Help me |
![]() |
| Viewing: Dev Shed Forums > Databases > Database Management > Plotting tree from database |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|