Bailing out.

\n"); } /* Enable this code to see the minimum/maximum values for each trait. for ($i = 0; $i < sizeof($test->maxvals); ++$i) { if ($test->maxvals[$i] == $test->minvals[$i]) { break; } printf("

axis %d: min %d, max %d

\n",$i, $test->minvals[$i], $test->maxvals[$i]); } */ foreach ($test->questions as $q) { printf("

%s: %s

\n",$q->id,$q->text); printf("\n"); foreach ($q->answers as $a) { printf("\t\n"); printf("\t\t\n"); printf("\t\t\n",$a->text); printf("\t\n"); } printf("
"); printf("", $q->id, $a->id); printf("%s
\n"); } ?>