0

hi ,

i have two table i want result in tree view.how to do it.
if i have n level question and answer then what is db design for it

thnx for any help

Attachments child.JPG 32.43 KB parent.JPG 27.31 KB
3
Contributors
5
Replies
6
Views
5 Years
Discussion Span
Last Post by pritaeas
0

??
what do you mean n level? Are they based around pk/fkcardid?

---7K post!---

So is this like a card name for the node and then sets of questions and answers?

Edited by diafol: n/a

0

thnx for reply
suppose a person post a question so multiple answer can be submitted or question can be a asked.

on every answer and question there parent child decided.


i need db design and guide for acciving this..

sorry for bad eng

tnx

0

sorry for bad eng

Yeah well, not my first language either, but I don't understand your last comment.

0

Not quite sure if this is what you mean, but if the answer decides the next question, you can add a second parent id (next question id) to the child table.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.