Bonjour Bonjour,

j'ai un petit soucis ... je me sens d'ailleurs très c**

voila
j'ai une page avec un formulaire

Code HTML : 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
<form action="cartecomplet.html" method="get" enctype="application/x-www-form-urlencoded" name="carte.html" id="carte.html" onsubmit="MM_validateForm('nom','','R','mail','','RisEmail');return document.MM_returnValue">
        <table border="0" cellpadding="5" height="316" width="100%">
          <tbody>
            <tr>
              <td scope="col" valign="top" width="21%"><span class="Style1 Style2">Nom</span></td>
              <td scope="col" width="79%"><input name="nom" id="nom" size="50" maxlength="75" type="text" /> <span class="Style1"></span></td>
            </tr>
           <tr>
              <td valign="top"><span class="Style1 Style2">Prenom</span></td>
              <td><input name="prenom" id="prenom" size="50" maxlength="75" type="text" /> <span class="Style1"></span></td>
            </tr>
            <tr>
              <td valign="top"><span class="Style1 Style2">Adresse</span></td>
              <td><textarea name="adresse" cols="50" rows="6" id="adresse"></textarea> <span class="Style1"></span></td>
            </tr>
            <tr>
              <td><span class="Style1"></span></td>
              <td><input name="Submit" value="Envoyer" type="submit" /> <span class="Style1"></span></td>
            </tr>
            <tr>
             <td height="49"><span class="Style1"></span></td>
              <td><span class="Style1"></span></td>
            </tr>
          </tbody>
        </table>
 
      </form>

J'obtiens des variables ... jusque là ... pas de soucis

sur la page qui reçoit les infos j'ai utilisé ça pour les récupérer

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
  $nom=$HTTP_POST_VARS['nom']; 
  $prenom=$HTTP_POST_VARS['prenom']; 
  $mail=$HTTP_POST_VARS['mail']; 
  $adresse=$HTTP_POST_VARS['adresse'];
alors ça fonctionnait super bien pour m'envoyer un mail pour par exemple une inscription

mais là j'ai besoin d'afficher ces variables dans ma page pour créer une espèce de carte personnalisée à imprimer

alors est-ce que quelqu'un peut me dire ce que je dois utiliser ?

echo machin j'en ai testé plein ... ça ne marche pas

merci beaucoup