for some reason when I add code to my PHPMailer script I only get one variable instead of all of them. I can better explain with an example. Below is an example my PHPMailer code. In bold is the code I've added. For some reason I only get sent the answer for Phone and not Name. If I were to put a third, say for Email, I would only get the Email value. How can I make it so I get all the answers in the body of my email and not just the one?
$mail->Subject = "Test message sent using the PHPMailer component";
$mail->Body = "This is a test message."; $mail->Body = "Name: ".$_POST['Name']." was the content of the for.";
$mail->Body = "Phone: ".$_POST['Phone']." was the content of the for.";
if(!$mail->Send())
{
echo "Message could not be sent. <p>";
echo "Mailer Error: " . $mail->ErrorInfo;
exit;
}