iraad
|
Posted: 04/14/2004, 6:17 AM |
|
Hello,
I'm still making an online quiz with questions as label and answers as radio button. I have a mother child structure in my database for the questions / answers.
Like this:
ID = 1, Name= Question 1, Parent= 0, Next question= 10
ID = 3, Name= Answer 1, Parent= 1, Next question= 0
ID = 4, Name= Answer 2, Parent= 1, Next question= 0
ID = 10, Name= Question 2, Parent= 0, Next question= 15
etc.
It is not the good way to make for my 14 questions 14 php pages, and on all the pages the selection: ID= X.
That's why I have the field [Next question]. But how can I use the field [Next question] as a parameter link so I can use one php page.
Like: After update question 1 automatically the selection: ID= 10 and after update question 2 ID= 15 etc etc.
Please give me some advise I’m stuck..
|
|
|
|
|