Bonjour,

J'ai créé un formulaire avec swish voici ce que j'ai rentré
Code X : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
on (press) {
  Nom = userNom.text;
  Prenom = userPrenom.text;
  Société = userSociété.text;
  Email = userEmail.text;
  Jours = userJours.text;
  Heure = userSociété.text;
  Telephone = userSociété.text;
  Fax = userSociété.text;
  Remarque = userSociété.text;
  loadVariables("contact.php",'POST');

Ensuite j'ai fait le formulaire php dont voici ce que j'ai rentré
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<?php
$Nom = $HTTP_POST_VARS['Nom'];
$Prenom = $HTTP_POST_VARS['Prenom'];
$Société = $HTTP_POST_VARS['Société'];
$Email = $HTTP_POST_VARS['Email'];
$Jours = $HTTP_POST_VARS['Jours'];
$Heure = $HTTP_POST_VARS['Heure'];
$Telephone = $HTTP_POST_VARS['Telephone'];
$Fax = $HTTP_POST_VARS['Fax'];
$Remarque = $HTTP_POST_VARS['Remarque'];
 
$message = stripslashes($message);
 
$sendTo = "thiryalain@tvcablenet.be";
$subject = Reservation Stans";

$msg_body = "Nom:  $Nom\n";
$msg_body .= "Prenom:  $Prenom\n";
$msg_body .= "Société:  $Société\n";
$msg_body .= "Email:  $Email\n";
$msg_body .= "Jours:  $Jours\n";
$msg_body .= "Heure: $Heure\n";
$msg_body .= "Telephone:  $Telephone\n";
$msg_body .= "Fax:  $Fax\n";
$msg_body .= "Remarque:  $Remarque\n";


$header_info = "From: ".$name." <".$thiryalain@tvcablenet.be.">";

$email($thiryalain@tvcablenet.be, $Reservation Stans, $msg_body, $header_info);

?>
Mais rien ne fonctionne ou se trouve l'erreur car je suis très débutant ???

http://www.stans.lu/test.html