\n"; if( count( $customresponse ) ) { //if they have chosen custom responses, find the highest valued one that works. $got_one = ""; for( $x = 0; $x <= $score; $x++ ) { if( isset($customresponse[$x]) && $customresponse[$x] && $score >= $x ) { $got_one = $customresponse[$x]; } } print "

".stripscript( $got_one )."

\n"; } ?>

Questionnaire scoring script provided for free by http://www.howtocreate.co.uk.

Create your own questionnairs and use this program to calculate scores.