Building tree of links from SQL database by php

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
doron447
Forum Newbie
Posts: 4
Joined: Sat Jan 24, 2009 7:24 am

Building tree of links from SQL database by php

Post by doron447 »

Hello all!

I have a problem that I'm working on for 2 weeks and I can't solve it.

I want to convert database in SQL to a tree of links in HTML by php.

the structure of my database goes like this:

.question1
...answer1
.....question2
..........answer6
..........answer7
..........answer8
..........answer9
...answer2
...answer3
...answer4

and so on..
Its not a problem to do that by javascript but that way it will by a static tree, I want that the tree will by dinamic (from the database)

Can someone help me?
Doron
russ72g
Forum Newbie
Posts: 8
Joined: Tue Jan 13, 2009 2:55 am

Re: Building tree of links from SQL database by php

Post by russ72g »

hi,

i am not sure what you mean. write in a little more detail what you are trying to do and maybe someone can help
Post Reply