Link to home
Start Free TrialLog in
Avatar of freezilla
freezilla

asked on

PHP Poll with Question Branching

I need to develop a simple survey that will "grade" people based on their answers.  For instance if someone answers "Yes" (there will be all Y/N questions except the first question which will be Male/Female) they're given a "risk assessment".  No idea how to do that.

Anyone?
Avatar of PranjalShah
PranjalShah
Flag of United States of America image

Why are you trying to build the survey script on you own. There are many available online for free... Google "PHP survey scripts"
Google "Survey Monkey" for a good solution.  IIRC Constant Contact also has this ability.
If you're just interested in learning the design pattern, you might find some of this article useful.
https://www.experts-exchange.com/Web_Development/Web_Languages-Standards/PHP/PHP_Databases/A_5256-Simple-Vote-Counting-in-PHP-and-MySQL.html
ASKER CERTIFIED SOLUTION
Avatar of EMB01
EMB01
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of freezilla
freezilla

ASKER

Oh yeah.