I am a newbeee
I need to send an email to the email address that is submited on a form
I am sending one with this script but i need to send one also to the submiter
if (isset($POST['submit'])) {
$firstname = trim($POST['firstname']);
$lastname = trim($POST['lastname']);
$emailaddress = trim($POST['emailaddress']);
$country = trim($POST['country']);
$need = trim($POST['need']);
$prayerdetails = trim($_POST['prayerdetails']);
$to = "$somename@home.net";
$headers="From: Destined To Win Ministries <Do not reply@destinedtowin.org>";
$subject = "user name and password";
$message = "First Name: $firstname\n" .
"Last Name: $lastname\n" .
"Email Address: $emailaddress\n" .
"Country: $country\n" .
"prayer needed for: $need\n" .
"prayer request: ----> $prayerdetails\n";
mail($to, $subject, $message, $headers);
}