Me revoici avec deux erreurs de syntaxe que je ne comprends pas:
Code : Tout sélectionner
$Prenom-Conjoint = $_POST['Prenom-Conjoint'];Code : Tout sélectionner
$E-Mail = $_POST['E-Mail'];Code : Tout sélectionner
$Prenom-Conjoint = $_POST['Prenom-Conjoint'];Code : Tout sélectionner
$E-Mail = $_POST['E-Mail'];
$Prenom-Conjoint
$E-Mail
les signet sont interdit.$Prenom_Conjoint
$E_Mail
A+
Ce que l'on apprend par l'effort reste toujours ancré beaucoup plus longtemps.
Code : Tout sélectionner
$Prenom_Conjoint = $_POST['Prenom_Conjoint'];Code : Tout sélectionner
$E_Mail = $_POST['E_Mail']; Ligne 19 de ton script : tu utilises un index (appelé Prenom_Conjoint) qui n'existe pas.Merci.
J'ai corrigé mais maintenant j'ai les erreurs suivantes:
Notice: Undefined index: Prenom_Conjoint in C:\wamp\www\TESTPHP\MICHEL\Affichage_Client_Saisie.php on line 19
Notice: Undefined index: E_Mail in C:\wamp\www\TESTPHP\MICHEL\Affichage_Client_Saisie.php on line 48
echo "<pre>; // pour la présentation
print_r($_POST);
echo '</pre>';Code : Tout sélectionner
<label>Prénom Conjoint:
<input name="Prenom_Conjoint" type="text" id="Prenom_Conjoint" size="30" maxlength="30" />
</label>Code : Tout sélectionner
<label>Prénom Conjoint:
<input name="Prenom_Conjoint" type="text" id="Prenom_Conjoint" value="<?php echo $Prenom_Conjoint ?>" size="30" maxlength="30" />
</label>