Hey
Need help i am having a mental block
when I fill in the form and click send it sends the form but looks like this
Name: ,
Email: ,
Subject: ,
Message:
the form data is
<?php
$name = $_POST['name'];
$email = $_POST['email'];
$subject = $_POST['subject'];
$message = $_POST['message'];
$formContent = "From: $name, \n Email: $email, \n Subject: $subject, \n Message: $message";
$recipient = "email@email.com";
$subject = "Website Request";
$mailheader = "Website \r\n";
mail($recipient, $subject, $formContent, $mailheader);
echo "Your message was sent" . " - " . "<a href='index.html' style='text-decoration: none; color: #d03837;'>Return Home</a>";
?>
Anyone with any ideas