Deposit payment

if ($_POST[“AntiRobot”] == “carrot”){

// 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


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″;
else {
echo “Sorry, you didn’t enter carrot in the text box. Try again!”;