PHP is very new to me. I have searched on PHP.org for the answer, but haven't found it so here is the problem.
I have a simple form with the variables Question1, Question2, Question3, Question4, Email, and Question5. In my action.php file from the post I am displaying these values, ("You entered: Question#") and then I want to email the
results to an email address. Because this is a complicated email, I'm using a variable $message. The mail code is something like this:
<?php
$message = "
<html>
<head>
<title>Feedback</title>
</head>
<body>
<p>Here were the responces for Feedback</p>
<ol><li>Question 1:<br>
<em><?php echo $_POST['Question1'] ?></em></li>
<li>Question 2:<br>
<em><?php echo $_POST['Question2'] ?></em></li>
<li>Question 3:<br>
<em><?php echo $_POST['Question3'] ?></em></li>
<li>Question 4:<br>
<em><?php echo $_POST['Question4'] ?></em></li>
<ul><li>Email:<br>
<em><?php echo $_POST['Email'] ?></em></li></ul>
<li>Question 5:<br>
<em><?php echo $_POST['Question5'] ?></em></li>
</ol>
</body>
</html>
";
mail("email@email.com", "Feedback", $message);
?>
Any ideas?