sorry if this is condescending: im assuming you know nothing about php
structure:
1) html form
2) php script
3) success/failure page
description:
1)
make an HTML form, which holds the answers and questions. use method="post" and set action to your php script.
read more at
http://www.w3schools.com/html/html_forms.asp
2)
your php script should check for the variables that your form passed. if you used post they should live in an array called $_POST.
read more at:
http://www.php.net/manual/en/tutorial.forms.php
use php to perform any logic or statistics on the questionaire.
use php to automatically respond to this form by sending someone an email of something, using the mail() function. this may be some person at the organization needs an email, or you are just sending the results back to the user.
read more at:
http://www.php.net/manual/en/function.mail.php
3)
the previous php script will then redirect the users from the .php to either a success or failure page. I recommend using the header() function to send a Location header, which will automatically send the user to the page specified by it. this way the user will never stay on the .php page, they will only pass through it.
if ( $successful_emal ) {
header('Location: http://mysite/success.html');
} else {
header('Location: http://mysite/failure.html');
}