check($_POST['form_security_code']);
if ($correct == TRUE) {
if ($form_element0 && $form_element1 && $form_element2 && $form_element3
&& $email_address) {
$mailed=mail($email_address, $form_element2, $sent_message, $headers);
/**
* Everything between the single quotes can be changed. But you must
* NOT use single quotes inside the new string.
*/
$form_message = ''
.'Thank you, your message has been sent.'
.'';
}
}
else {
/**
* Everything between the single quotes can be changed. But you must
* NOT use single quotes inside the new string.
*/
$form_message = ''
.'Wrong security code entered!'
.'
Please enter the new code and try again.
'
.'';
}
}
else {
$form_message = '';
}
}
?>