salut les amis,
je veux modifier le couleur de la première ligne (l'Entête) de mon tableau (résultat de la recherche d'un salarié) voir le tableau actuel est:
je veux le modifier pour devenir comme ça:

comment je peux modifier dans mon code php? et merci.
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
<table border="2" cellspacing="1" width="50%" height="0"><!-- les valeurs des colones -->
  <tr>
    <th scope="col">N°CIN</th>
    <th scope="col">Nom</th><!-- les valeurs de la boucle -->
    <th scope="col">Prénom</th>
    <th scope="col">N°IMT</th>
    <th scope="col">Telephone </th>
    <th scope="col">Emploi </th>
    <th scope="col">Etat </th>
    <th scope="col">Date d'Entré </th>
  </tr>
 
  <?php
  while($result = mysql_fetch_array($sql))//le lancement de la boucle
  { ?>
  <tr>
    <th scope="row"> <?php echo $result ['CIN'] ?></th>
<td><?php echo $result ['Nom']?></td>
<td><?php echo $result ['Prenom']?></td>
<td><?php echo $result ['Imatr']?></td>
<td><?php echo $result ['Telephone']?></td>
<td><?php echo $result ['Emploi']?></td>
<td><?php echo $result ['Etat']?></td>
<td><?php echo $result ['Date_Entre']?></td>
  </tr>
 
<?php }?>
  </table>
  <br>
  <br>
  <?php
$donnes =mysql_query("SELECT COUNT(*) AS nbre_salaries FROM salariés");
echo"<b><font face=\"Century Gothic\" color=\"#008000\">Le Nombre de 
Salariés est:</font></b> $num";
?>