Deposit payment

[insert_php]
if ($_POST[“AntiRobot”] == “carrot”){
$nom=$_POST[“fnom”];
$courriel=$_POST[“femail”];
$telephone=$_POST[“ftelephone”];
$adresse=$_POST[“fadresse”];
$format=$_POST[“fformat”];
$point_de_chute=$_POST[“fpointdechute”];
$modepaiement=$_POST[“fmode_de_paiement”];
$infoequiterre=$_POST[“infoequiterre”];

// To
$to = ‘[email protected]’;
// Subject
$subject = ‘Electronic registration’;
$msg=”INSCRIPTION EN ANGLAIS \n Nom: $nom \n Courriel: $courriel \n Telephone: $telephone \n Adresse: $adresse \n Format: $format \n Point de Chute: $point_de_chute \n Paiement: $modepaiement (1=paypal, 2=cheque) \n Ne pas transmettre les coordonnées à Équiterre: $infoequiterre”;
$headers= “From: $courriel”;

mail($to, $subject, $msg, $headers);
switch ($modepaiement)
{
case 1:
echo”If the following informations are correct please click the Pay now button to get on the Paypal website to send us your deposit by credit card or Paypal account.

  • Name: $nom
  • Email: $courriel
  • Phone: $telephone
  • Size: $format
  • Pick up location: $point_de_chute
  • Address: $adresse





\"\"


“;
break;
case 2:
echo “Please send us your 100$ cheque in the name of Jardin chez Julie et Lova at the following address:
75, route 201
Coteau-du-Lac, QC
J0P 1B0″;
break;
}
}
else {
echo “Sorry, you didn’t enter carrot in the text box. Try again!”;
}
[/insert_php]