Page 1 of 1

Building tree of links from SQL database by php

Posted: Sat Jan 24, 2009 7:49 am
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

Re: Building tree of links from SQL database by php

Posted: Tue Jan 27, 2009 7:47 am
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