Click here to Skip to main content
15,884,629 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hiii ,

How do i display data from database in dependency way (each data row will based on user choice - it is something like Tree .

for example : ( i want to do something like below )

1-what is your favorite color ?(red - Greed - blue )==>say user choose "blue"
2-which one of those have blue color ? (sun - sea - mountains )===>user choose sea
3-can you swim ? (yes-no )==>user choose no
====================================================
and the is another questions for another user because he choose different answer in first question so may all coming questions will be different .

1-what is your favorite color ?(red - Greed - blue )==>say user choose "red"
2-wow , u seem to be romantic ,right ? (yes - no )===>user choose yes
3-what is your favorite romantic movie ? (a walk to remember - Titanic )

============================================================
i also want to make admin user that will be able to add questions &answers
any suggestions ?
hope my description was good
Posted
Comments
coded007 26-Aug-14 2:08am    
do you need database structure to show this ?
Hercal 31-Aug-14 1:51am    
i already done the database structure
but i don't know how to assign the table values to radio buttons ,
any idea ?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900