[raw]
Name: %s
Experience: %s’, addslashes($_POST[‘first_name’]), addslashes($_POST[‘radio1’]));
mail($to, $subject, $body, $headers);
// Handle Redirection
switch ($_POST[‘radio1’]) {
case ‘Very Poor’ :
case ‘Poor’ :
case ‘Ok’ :
header(“location: https://cleanslatetax.com/improve”);
break;
case ‘Good’ :
case ‘Great’ :
header(“location: https://cleanslatetax.com/review”);
break;
default :
break;
}
exit();
}
?>
[/raw]