Forum Moderators: coopster

Message Too Old, No Replies

+/- hiearchy using PHP

+/- hiearchy using PHP

         

anshul

12:15 pm on May 31, 2005 (gmt 0)

10+ Year Member



How could I create +/- hiearchy in PHP? I mean a tree structure of links ( eg., Web directory struture ) as we see for RSS/XML feed pages ( I'm not asking about RSS or XML ).

Blackie

12:27 pm on May 31, 2005 (gmt 0)

10+ Year Member



You need at least a database to help you out so you can make dependences what stuff belongs to which category.

Also try to explain you problem better since its unclear if you are asking for a way to make those "pluses-minuses" expandable or something else.

anshul

12:30 pm on May 31, 2005 (gmt 0)

10+ Year Member



Expandable and collaspable both.
Exactly, I wanna such hiearchy for commentators on a blog topic.

Blackie

12:49 pm on May 31, 2005 (gmt 0)

10+ Year Member



Then you need help from JavaScript or CSS/DHTML. Pure php can not help you in this case.

anshul

12:53 pm on May 31, 2005 (gmt 0)

10+ Year Member



Can't you point me to few examples/urls?

Blackie

12:48 pm on Jun 1, 2005 (gmt 0)

10+ Year Member



As it's not nice to put the links here on forum, I suggest you search hotscripts, I remember finding there something suitable for free :-)

You can also see on the pages where they are using those expandable/collapsable and check the source code to learn the way.

dreamcatcher

4:45 pm on Jun 1, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Google Dynamic Drive

dc

anshul

5:55 am on Jun 2, 2005 (gmt 0)

10+ Year Member



Ok, thanks. Exactly, I wanted to learn/read that, and then write it myself.