so this is a test of some sort?
This is going to take some custom coding to accomplish
you will need to have a database with a table of answers:
answers:
answerID - Primary Key
answerText - varchar
then create a recordset to look up the answers entered and compare them against the answers in the db, using the COUNT function you can return a number of matches.
for example, lets say you have form elements named "answerOne" and "answerTwo". create the recordset using advaced view as:
SELECT COUNT(answerID) as testScore
FROM answers
WHERE answerText = paramAnswerOne AND answerText = paramAnswerTwo
in the Variables section, create the two parameters:
Name: paramAnswerOne
Type: text
Default value: -1
Runtime Value: $_POST['answerOne']
Name: paramAnswerTwo
Type: text
Default value: -1
Runtime Value: $_POST['answerTwo']
the you can use an if statement to do the redirect based on the testScore from the recordset
<?php
if($row_recordsetName['testScore'] == 2) {
header("Location: page1.php");
} else {
header("Location: page2.php");
}
?>