Below is the PHP code that I am using to submit my website email form. It is working perfectly. I want to be able to have this email sent to the email specified below as well as to the email of the person filling out the form. I have tried a few different things but I do not know much php. I have done much searching online and cannot figure it out.
Thank you in advance for your help. It is really frustrating me.
<?php
$to = ‘danny@getshifty.com’;
$subject = ‘Getshifty Contact’;
$message = “Getshifty contact from the WEBSITE!” . “<br />” ."<br />" ."<br />" .
$message = “<br />” .
$message = "Name: " . $_POST[‘name’] . "
" . “<br />” .
$message = "E-Mail: " . $_POST[‘email’] . "
" . “<br />” .
$message = "Phone: " . $_POST[‘phone’] . "
" . “<br />” .
$message = "Location: " . $_POST[‘location’] . "
" . “<br />” .
$message = "Message: " . $_POST[‘message’] . "
" . “<br />” .
“<br />” .
“<br />” .
“<br />” .
$headers = 'From: ’ .
$_POST[‘email’] . "
" .
'Reply-To: ’ .
$email . "
" .
‘Content-type: text/html’ . "
" .
‘X-Mailer: PHP/’ . phpversion();
mail($to, $subject, $message, $headers);
?>