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
| <?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>Liste des clientsaiguillé</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">
</head>
<body marginheight="20" bgcolor="#fffcd9">
<?php
//requête de travail
$requete = "select numteld,constatation from typedérangement Where constatation="ccl" ";//le lgne ou se trouve le faute
$resultat=mysql_query($requete) or die(mysql_error());
?>
<div align="center"> <span class="style2"><strong><font face="Comic Sans MS">Liste
des Clients dérangers</font></strong></span><br>
<br>
<TABLE border="1" align="center" class="tableau">
<tr class="style3">
<th width="120" height="36">Numero de téléphone:</th>
</tr>
<?php
while ($row=mysql_fetch_row($resultat))
{
$numtel=$row[0];
?>
<tr>
<td align="center"> <?php echo "<a href=\"detailclient.php?numtel=".$row[0]."\">$row[0]</a>" ?></td>
</tr>
<?php
}
?>
</table>
</body>
</html> |
Partager