Civil Society Engagement in Research for Health
if(isset($_POST['submit']))
{ //Handle the form
$organization = $_POST['organization'];
$address = $_POST['address'];
$country = $_POST['country'];
$person = $_POST['person'];
$position = $_POST['position'];
$website = $_POST['website'];
$email = $_POST['username'];
$morganization = $_POST['morganization'];
$comments = $_POST['comments'];
if($_POST["twolow"]){
$twolow=$_POST["twolow"];
}
$toAd = "CSO@cohred.org,Devlin@cohred.org,dehaan@cohred.org";
$subject = "Civil Society Engagement in Research for Health";
$message = "Yes my organisation endorses the Call for CSO engagement:\n\nName of organisation: ".$organization."\nAddress: ".$address."\nCountry: ".$country."\nMain contact person: ".$person."\nPosition of main contact person: ".$position."\nWebsite: ".$website."\nEmail: ".$email."\nMain areas of work of the organisation: ".$morganization."\n\nComments on the Call, or any other comments:\n ".$comments."\n\n".$twolow."";
$headers = "".'From: root@cohred.org'. "\r\n" .'Bcc:nuwan@fclanka.com' . "\r\n" .'X-Mailer: PHP/' . phpversion();
if(!mail($toAd, $subject, $message,$headers))
{
echo "Comments was not sent“;
}
else
{
echo “
Thank You for your input.“;
}
}
?>