"); $i++; } end_table(); break; case BOLT_MODE_SCORE: $right_ans = $choices[0]; shuffle($choices); $key = "q_$bolt_ex_index"; if (isset($$key)) { $response = $$key; if ($choices[$response] == $right_ans) { $bolt_ex_score += 1; } } break; case BOLT_MODE_ANSWER: $right_ans = $choices[0]; shuffle($choices); $key = "q_$bolt_ex_index"; if (isset($$key)) { $response = $$key; } else { $response = -1; } $i = 0; start_table(); foreach ($choices as $choice) { $x = "