Current location: Hot Scripts Forums » Programming Languages » PHP » need to how can we create a tree structure in php


need to how can we create a tree structure in php

Reply
  #1 (permalink)  
Old 03-31-04, 05:52 AM
rani rani is offline
Newbie Coder
 
Join Date: Jan 2004
Location: b'lore
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
need to how can we create a tree structure in php

hi,
i want to know how can we create a tree structure in php.
(something like windows operating system has)
i want to create tree structure with the image (image be a open and close folder type like in Windows)
A close window shows just the name and open window shows it's content, content is a dynamic values.
i will give a breif description here.
i have network which has different subgroup/s
one network has 2 subgroups,and each subgroup has its own content. which should display it's contents on clicking.(i.e open folder)
network
|
-- (PP1)
| |
| --[p11]
| |
| --[p12]
|
|--(PP2)
|
--[p21]
( ) displayed a group for network
[ ] " a subgroup for group
can anyone give a idea to do this..
thanks

Last edited by rani; 03-31-04 at 05:55 AM.
Reply With Quote
  #2 (permalink)  
Old 08-29-06, 05:02 AM
MatiZZZ MatiZZZ is offline
New Member
 
Join Date: Aug 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
If you have based on mysql.. then code is here:
http://www.programmingtalk.com/showt...725#post100725
Reply With Quote
  #3 (permalink)  
Old 08-29-06, 06:12 AM
UnrealEd's Avatar
UnrealEd UnrealEd is offline
Community Liaison
 
Join Date: May 2005
Location: Antwerp, Belgium
Posts: 3,165
Thanks: 4
Thanked 25 Times in 25 Posts
Hans Bauer used a sort of tree on his website, using javascript. you can close and open folders by clicking on the folder icon.
take a look at his website, http://www.h-bauer.de/, and you'll see what i mean.

there's a link called Soft-/Freeware where you can download the treeMenu. you only have to send him an email

greetz,
UnrealEd
__________________
"Good judgement comes from experience, and experience comes from bad judgement." - Fred Brooks

Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error when trying to create MySQL table via PHP HasansWeb PHP 5 05-19-11 06:59 AM
tree structure eboiteanu PHP 1 02-01-04 03:35 PM
100 Web Templates & 10 PHP Scripts for sale! HostersUK.co.uk General Advertisements 0 01-10-04 12:31 AM
Declared Functions skipper23 PHP 4 12-17-03 10:06 AM
index page not showing up skipper23 PHP 3 12-15-03 01:10 PM


All times are GMT -5. The time now is 10:22 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.