salut tout le monde svp quelqu'un m'aide de comprendre ses message d'eureur
Notice: Undefined index: responsableessai in C:\Program Files\EasyPHP 2.0b1\www\ssss\detailclient.php on line 142

Notice: Undefined index: aiguillage in C:\Program Files\EasyPHP 2.0b1\www\ssss\detailclient.php on line 143

Notice: Undefined index: constatation in C:\Program Files\EasyPHP 2.0b1\www\ssss\detailclient.php on line 144

Notice: Undefined variable: dateessai in C:\Program Files\EasyPHP 2.0b1\www\ssss\detailclient.php on line 147
Duplicata du champ '33' pour la clef 1
etvoila le code
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
<?php
$hostname_telecom = "localhost";
$database_telecom = "suged";
$username_telecom = "root";
$password_telecom = "";
$telecom = mysql_connect($hostname_telecom, $username_telecom, $password_telecom) or die(mysql_error());
 mysql_select_db($database_telecom ,$telecom) or die ('erreur de connexion base');
?>
<html>
<head>
<title>detail client</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="file:///C|/Documents%20and%20Settings/FATNASSI%20DALI/Bureau/Editeur/tableau.css" rel="stylesheet" type="text/css">
<script language="Javascript">
<!--
 
function imprimer(){window.print();}
//-->
</script>
</head>
<body marginheight="20" bgcolor="#fffcd9">
<div align="left">
  <p>
    <input name="imprimer" onClick="imprimer()" type="button" value="Imprimer cette page">
  </p>
   <?php
//requête de travail
$numtel=$_GET["numtel"];
$requete="select référance, observation, nom ,prenom, adresse,adressed, téte, amorcetéte ,couleurtéte ,distriubution, amorcedist ,couleurdist from déranger  , abonné , position 
where déranger.numtel=$numtel and abonné.numtel=$numtel and position.numtel=$numtel ";
$resultat=mysql_query($requete) or die(mysql_error());
 
		while ($row=mysql_fetch_row($resultat))
		{
		$nom=$row[0];
		$prénom=$row[1];
		$adresse=$row[2];
		$référance=$row[3];
		$observation=$row[5];
		$téte=$row[6];
		$amorcet=$row[7];
		$couleurt=$row[8];
		$distribution=$row[9];
		$amorced=$row[10];
		$couleurd=$row[11];
 
 
?>
 
 
  <table width="85%" border="0">
    <tr>
      <td width="32%">Table Essai</td>
      <td width="36%">R&eacute;ferance drangement</td>
      <td width="32%">kairouan le 05-Mar-2009</td>
    </tr>
  </table>
  <table width="75%" border="0">
    <tr>
      <td><div align="center">N d'appel:</div></td>
    </tr>
  </table>
  <p><span class="style2"><strong><font face="Comic Sans MS">Detail sur client 
    et type de d&eacute;rangement</font></strong></span></p>
  <table width="84%" border="0">
    <tr>
      <td width="61%" height="34">Nom et Prenom</td>
      <td width="39%"><?php echo $nom  ?></td>
    </tr>
    <tr>
      <td height="39">Adresse</td>
      <td><?php echo $adresse ?></td>
    </tr>
    <tr>
      <td height="56">Position</td>
      <td><table width="100%" border="0">
          <tr>
            <td>T</td>
            <td>A</td>
            <td>C</td>
            <td>D</td>
            <td>A</td>
            <td>C</td>
          </tr>
          <tr>
            <td><?php echo $téte ?></td>
            <td><?php echo $amorcet ?></td>
            <td><?php echo $couleurt ?></td>
            <td><?php echo $distribution ?></td>
            <td><?php echo $amorced ?></td>
            <td><?php echo $couleurd ?></td>
          </tr>
        </table></td>
    </tr>
    <tr>
      <td height="35">Date Essai</td>
      <td>08-Mar-2009</td>
    </tr>
    <tr>
      <td height="27">Observation</td>
      <td><?php echo $observation ?></td>
    </tr>
    <tr>
      <td height="29">Responsable Essai</td>
      <td><form name="form3" method="post" action="detailclient.php">
          <input type="text" name="responsableessai">
        </form></td>
    </tr>
    <tr>
      <td height="40">Constatation table essai</td>
      <td><form name="form2" method="post" action="detailclient.php">
          <select name="constatation">
            <option>Boucle+Terre</option>
            <option>Boucle</option>
            <option>Courant+Isolement</option>
            <option>Carte abonn&eacute; effectueuse</option>
            <option>Courant &eacute;tranger</option>
            <option>Isolement</option>
            <option>Melange</option>
            <option>Reglette</option>
            <option>t&eacute;te</option>
          </select>
        </form></td>
    </tr>
    <tr>
      <td height="47">Aiguillage</td>
      <td><form name="form1" method="post" action="detailclient.php">
          <select name="aiguillage">
            <option value="ccl">C.C.L</option>
            <option value="bonessaie">BON ESSAI</option>
            <option value="suspendu">SUSPENDU</option>
          </select>
        </form></td>
    </tr>
  </table>
  <input name="VALIDER" type="submit">
 
  <?php } ?>
 
<?php
$numtel=$_GET["numtel"];
$responsableessai=$_POST["responsableessai"];
$aiguillage=$_POST["aiguillage"];  
$constatation=$_POST["constatation"]; 
 
$requete="insert into typedérangement (numtel,responsableessai,resultatessai,constatation,date )
values ('".$numtel."', '".$responsableessai."', '".$aiguillage."', '".$constatation."', '".$dateessai."')";
$resultat=mysql_query($requete) or die(mysql_error());
?>
 
</div>
</body>
</html>
et merci pour tout