Hey all,
I had a problem writing a PHP script for my project.
I'm developing an expert systems that can take 3 questions and generated conclusion.
All questions provides an answers which i used drop down button type.
for example:
question 1. 1+ 1 =
a. 1.
b. 3.
c. 2.
d. 0.
Since it using drop down button , The users can easily click the answer button and can select the appropriate answer.
To keep the tract the answers, i have gave the selected answers with appropriate uniq ID.
The same pattern applied with question 2 and 3.
my problem , when it came to the conclusion , i have to keep on tract which answer selected by the users to generated an explanation.
eg: sample solution would be:
based on 1+1 = 2 and 2+2 = 4 (sample question 2) and 4+4=8(sample question 3) then all are even number.
i'm confused with this thing and i need a help please.
Thanks 🙂
Faisal Yusuf