Latin America
if(isset($_POST['submit'])) { $firstName = $_POST['firstName']; $lastName = $_POST['lastName']; $organization = $_POST['organization']; $email = $_POST['username']; $country = $_POST['country']; $comments = $_POST['comments']; $toAd = "cohredlat@cohred.org"; $subject = "National Health Research Systems in Latin America"; $message = "First Name: ".$firstName."\n\nLast Name: ".$lastName."\n\nOrganization: ".$organization."\n\nEmail: ".$email."\n\nCountry: ".$country."\n\nComments:\n".$comments.""; $email = $_POST['username']; $headers = "From: ".$email."<".$email.">“. “\r\n” .’Bcc: nuwan@fclanka.com’ . “\r\n” .’X-Mailer: PHP/’ . phpversion();
if(!mail($toAd, $subject, $message,$headers))
{
echo “Comments was not sent
Please try again!“;
}
else
{
echo “Thank you for your interest. You will be informed. “;
}
}
?>