//Sending Email to form owner
$pfw_header = “From: $emailn”
. “Reply-To: $emailn”;
$pfw_subject = “web enquiry”;
$pfw_email_to = "[email protected],[email protected]";
$pfw_message = “Please Log As W/Enn”
. “Title: $titlen”
. “Firstname: $firstnamen”
. “Surname: $surnamen”
. “Address1: $address1n”
. “Address2: $address2n”
. “City: $cityn”
. “Postcode: $postcoden”
. “Contact No: $contactnon”
. “Email: $emailn”
. “Dishwasher: $dishwashern”
. “Fridge Freezer: $fridgefn”
. “Washing Machine: $washern”;
@mail($pfw_email_to ,$pfw_subject ,$pfw_message ,$pfw_header ) ;
//then we put the details into the database
i tried this but this doesnt work either…
//Sending Email to form owner
$headers .= “To: [email protected]” . “rn”;
$headers .= “From: $emailn” . “rn”;
$headers .= “Cc: meagain@emailaddress” . “rn”;
$subject = “test”;
$message = “testnn”
. “Title: $titlen”
. “Firstname: $firstnamen”
. “Surname: $surnamen”
. “Address1: $address1n”
. “Address2: $address2n”
. “City: $cityn”
. “Postcode: $postcoden”
. “Contact No: $contactnon”
. “Email: $emailn”
. “Dishwasher: $dishwashern”
. “Fridge Freezer: $fridgefn”
. “Washing Machine: $washern”;
mail($to ,$subject ,$message ,$headers ) ;
//then we put the details into the database
//Below checkbox decs