Nous Contacter

Hambourg nou prale

Rotary Convention 2019 - Nambourg, Allemagne

We are looking forward to hearing from you. Please feel free to get in touch via the form below, we will get back to you as soon as possible.

Thank You

[insert_php]

if (!empty($_POST)){
//connect to mySQL
$myConn = new mysqli(‘localhost’,’rotaryg0_WP3X6′,’fhuDwoGPfUEyJPAqy’,’rotaryg0_WP3X6′);

// check the connection
if ($mysqli->connect_error){
// die(‘Connect Error:’ . $ $myConn->connect_errno. ‘: ‘ . $ $myConn->connect_error);
die(‘Connect Error: Check your user name or password ‘);
}

$fname = mysqli_real_escape_string( $myConn, $_POST[‘fname’]);
$lname = mysqli_real_escape_string( $myConn, $_POST[‘lname’]);
$nname = mysqli_real_escape_string( $myConn, $_POST[‘nname’]);
$email = mysqli_real_escape_string( $myConn, $_POST[’email’]);
$comments = mysqli_real_escape_string( $myConn, $_POST[‘comments’]);
$cellphone = mysqli_real_escape_string( $myConn, $_POST[‘cellphone’]);
// Insert the data
$sql = “INSERT INTO zInscription(Fname, Lname,Nname,Email,Comments,Cellphone) VALUES (?, ?, ?, ?, ?, ?);”;

$stmt = mysqli_stmt_init($myConn);

//Print response from INSERT Statement
if (!mysqli_stmt_prepare($stmt, $sql)){
die(‘Connect Error:’ . $myConn->errno. ‘: ‘ . $myConn->error);
} else {
mysqli_stmt_bind_param($stmt, “ssssss”, $fname, $lname, $nname, $email, $comments, $cellphone);
mysqli_stmt_execute($stmt);
// echo “Data Saved”;
}

//Close the connection
$myConn->close();

//==================
$favlang = $_POST[‘language’];

switch ($favlang) {
case “Creole”:
//echo “Your favorite languade is creole!”;
$to = $_POST[’email’]; // note the comma

// Subject
$subject = ‘Mesi pou sa ou panse’;

// Message
$message = ‘


Mesi pou sa ou panse



Cher Fanatik,

Mesi pou tet ou pran kontak ak nou. Nap tounen sou ou pap padap.
Sa ou di nou yo impotan pou nou anpil.
Ou met tounen sou page nou an nenpot le ou vle.

We have received your message and would like to thank you for writing to us.
If your inquiry is urgent, please use the telephone number listed below to talk to one of our staff members.
Otherwise, we will reply by email as soon as possible.

Thank you,
Le Comite

509.3294.7689



‘;

// To send HTML mail, the Content-type header must be set
$headers[] = ‘MIME-Version: 1.0’;
$headers[] = ‘Content-type: text/html; charset=iso-8859-1’;

// Additional headers
//$headers .= ‘To: Mary , Kelly ‘ . “\r\n”;
//$headers .= ‘From: Birthday Reminder ‘ . “\r\n”;
//$headers .= ‘Cc: birthdayarchive@example.com’ . “\r\n”;
//$headers .= ‘Bcc: birthdaycheck@example.com’ . “\r\n”;

// Mail it
mail($to, $subject, $message, implode(“\r\n”, $headers));
//mail(‘9089867167@mymetropcs.com’, ”, “This is a test\nNew Line …”, $headers);
//==================
break;
case “Francais”:
//echo “Your favorite language is French!”;

$to = $_POST[’email’]; // note the comma

// Subject
$subject = ‘Merci d avoir penser a Nous’;

// Message
$message = ‘


Merci d avoir penser a nous



Cher ami,

Merci de nous laisser votre commentaire. Vous vous ferons signe sous peu.
Sa ou di nou yo impotan pou nou anpiul.
Ou met tounen sou page nou an nipot le ou vle.

We have received your message and would like to thank you for writing to us.
If your inquiry is urgent, please use the telephone number listed below to talk to one of our staff members.
Otherwise, we will reply by email as soon as possible.

Thank you,
Le Comite

509.3294.7689



‘;

// To send HTML mail, the Content-type header must be set
$headers[] = ‘MIME-Version: 1.0’;
$headers[] = ‘Content-type: text/html; charset=iso-8859-1’;

// Additional headers
//$headers .= ‘To: Mary , Kelly ‘ . “\r\n”;
//$headers .= ‘From: Birthday Reminder ‘ . “\r\n”;
//$headers .= ‘Cc: birthdayarchive@example.com’ . “\r\n”;
//$headers .= ‘Bcc: birthdaycheck@example.com’ . “\r\n”;

// Mail it
mail($to, $subject, $message, implode(“\r\n”, $headers));
//mail(‘9089867167@mymetropcs.com’, ”, “This is a test\nNew Line …”, $headers);
//==================
break;
case “English”:
//echo “Your favorite language is English!”;
//===========
$to = $_POST[’email’]; // note the comma

// Subject
$subject = ‘Thank you for your comments’;

// Message
$message = ‘


Thank you for your comments



Dear friend,

Thank You for contacting us. We will be in touch with you shortly.
Your comments are important to us.
Please feel free to return to our web site any time.

We have received your message and would like to thank you for writing to us.
If your inquiry is urgent, please use the telephone number listed below to talk to one of our staff members.
Otherwise, we will reply by email as soon as possible.

Thank you,
Le Comite

509.3294.7689



‘;

// To send HTML mail, the Content-type header must be set
$headers[] = ‘MIME-Version: 1.0’;
$headers[] = ‘Content-type: text/html; charset=iso-8859-1’;

// Additional headers
//$headers .= ‘To: Mary , Kelly ‘ . “\r\n”;
//$headers .= ‘From: Birthday Reminder ‘ . “\r\n”;
//$headers .= ‘Cc: birthdayarchive@example.com’ . “\r\n”;
//$headers .= ‘Bcc: birthdaycheck@example.com’ . “\r\n”;

// Mail it
mail($to, $subject, $message, implode(“\r\n”, $headers));
//mail(‘9089867167@mymetropcs.com’, ”, “This is a test\nNew Line …”, $headers);
//==================
//===========
break;
default:
$to = $_POST[’email’]; // note the comma

// Subject
$subject = ‘Thank you for your comments’;

// Message
$message = ‘


Thank you for your comments



Dear friend,

Thank You for contacting us. We will be in touch with you shortly.
Your comments are important to us.
Please feel free to return to our web site any time.

We have received your message and would like to thank you for writing to us.
If your inquiry is urgent, please use the telephone number listed below to talk to one of our staff members.
Otherwise, we will reply by email as soon as possible.

Thank you,
Le Comite

509.3294.7689



‘;

// To send HTML mail, the Content-type header must be set
$headers[] = ‘MIME-Version: 1.0’;
$headers[] = ‘Content-type: text/html; charset=iso-8859-1’;

// Additional headers
//$headers .= ‘To: Mary , Kelly ‘ . “\r\n”;
$headers .= ‘From: Administration ‘ . “\r\n”;
//$headers .= ‘Cc: birthdayarchive@example.com’ . “\r\n”;
//$headers .= ‘Bcc: birthdaycheck@example.com’ . “\r\n”;

// Mail it
mail($to, $subject, $message, implode(“\r\n”, $headers));
//mail(‘9089867167@mymetropcs.com’, ”, “This is a test\nNew Line …”, $headers);
//==================
}

}

[/insert_php]




Prenom:

Nom:

Surnom:

Telephone:

Courriel:

Langue:

Creole
Francais
English

Commentaires:




Le Rotary Club de Leogane
Harawak Hotel
810, Rue l’Hopital
Leogane, Haiti