New enquiry

Name ' . $_POST['name'] . '
Phone Number ' . $_POST['phone'] . '
Email ' . $_POST['email'] . '
Message ' . $_POST['message'] . '
'; $headers = "Content-type: text/html; charset=utf-8 \r\n"; $headers .= "From: Site \r\n"; mail($to, $subject, $message, $headers); echo json_encode(array('status' => 'success')); } else { echo json_encode(array('status' => 'error')); } ?>