Database Management
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsDatabasesDatabase Management

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old May 13th, 2002, 05:07 AM
shleda's Avatar
shleda shleda is offline
Born Looser
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2002
Location: /root
Posts: 272 shleda User rank is First Lieutenant (10000 - 20000 Reputation Level)shleda User rank is First Lieutenant (10000 - 20000 Reputation Level)shleda User rank is First Lieutenant (10000 - 20000 Reputation Level)shleda User rank is First Lieutenant (10000 - 20000 Reputation Level)shleda User rank is First Lieutenant (10000 - 20000 Reputation Level)shleda User rank is First Lieutenant (10000 - 20000 Reputation Level)shleda User rank is First Lieutenant (10000 - 20000 Reputation Level)shleda User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 23 h 14 m 11 sec
Reputation Power: 172
Send a message via MSN to shleda Send a message via Yahoo to shleda Send a message via Google Talk to shleda Send a message via Skype to shleda
Facebook
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 Sharma
-----

_SelfProcclaimedGuru
Hire a LAMP guy.
To err is human. To blame your computer for your mistakes is even more human, it is downright natural.

Reply With Quote
  #2  
Old May 15th, 2002, 05:41 AM
Atrus's Avatar
Atrus Atrus is offline
yet another member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2001
Posts: 262 Atrus User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 m 52 sec
Reputation Power: 13
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)

Reply With Quote
  #3  
Old May 15th, 2002, 12:24 PM
shleda's Avatar
shleda shleda is offline
Born Looser
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2002
Location: /root
Posts: 272 shleda User rank is First Lieutenant (10000 - 20000 Reputation Level)shleda User rank is First Lieutenant (10000 - 20000 Reputation Level)shleda User rank is First Lieutenant (10000 - 20000 Reputation Level)shleda User rank is First Lieutenant (10000 - 20000 Reputation Level)shleda User rank is First Lieutenant (10000 - 20000 Reputation Level)shleda User rank is First Lieutenant (10000 - 20000 Reputation Level)shleda User rank is First Lieutenant (10000 - 20000 Reputation Level)shleda User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 23 h 14 m 11 sec
Reputation Power: 172
Send a message via MSN to shleda Send a message via Yahoo to shleda Send a message via Google Talk to shleda Send a message via Skype to shleda
Facebook
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

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesDatabase Management > Plotting tree from database

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap