Bonjour.
Sur ma page index.php j'appelle une page enreg_nouveau.phpvoici le le code ma page enreg_nouveau.php
Code : Sélectionner tout - Visualiser dans une fenêtre à part case 'nouvel_abo': include ('abolog/enreg_nouveau.php');break;et un bout du code de affichage_nouveau.php
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 <?php require('connect.php'); require('affichage_nouveau.php'); $nom=$_POST['nom']; $prenom=$_POST['prenom']; $profession=$_POST['profession']; $societe=$_POST['societe']; $adresse=$_POST['adresse']; $codep=$_POST['codep']; $ville=$_POST['ville']; $tel=$_POST['telephone']; $fax=$_POST['fax']; $mail=$_POST['mail']; $date_abo=$_POST['date_abo']; $codeperso=$_POST['codeperso']; ?>quand j'appelle ma page enreg_nouveau.php j'ai des messages d'erreurs qui m'annoncent que mes index ne sont pas définis ($nom etc...)
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 </form> <form name='inscription' method="POST"> <table bgcolor='#cccccc' border="0" align="center"> <colgroup width=180> <colgroup width=380> <tr> <td class="tdct" colspan="2" style="height:30px"><b> Enregistrer un nouvel abonné</b> </td></tr> <tr> <td class="tdrg">Nom * :</td><td> <input type="text" name="nom" value="<?php echo $nom;?>" style="height:20px; width=200px" onblur="javascript:this.value=this.value.toUpperCase();"></td> </tr> <tr> <td class="tdrg">Prenom * :</td><td> <input type="text" name="prenom" value="<?php echo $prenom;?>" style="height:20px; width=200px"></td> </tr> <tr> <td class="tdrg">Profession :</td><td> <input type="text" name="profession" value="<?php echo $profession;?>" style="height:20px; width=200px"></td> </tr> <tr> <td class="tdrg">Organisme ou entreprise :</td><td> <input type="text" name="company" value="<?php echo $societe;?>" style="height:20px; width=350px"></td> </tr> <tr> <td class="tdrg">Adresse * :</td><td> <input type="text" name="adresse" value="<?php echo $adresse;?>" style="height:20px; width=350px"></td> </tr> ..... </table> </form>
Est ce quelqu'un peut me dire ce qui ne va pas.
Merci d'avance
Partager