bonjour à tous.
J'ai un petit problème avec mon code. Je n'arrive pas à afficher les valeurs correspondantes des colonne 'categorie et echelon'. Ces colonnes affichent la même valeur (la dernier je crois) partout. Je n'arrive pas à resoudre ce problème et poutant tous les annee s'affichent.
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
 
<table>
				<caption> Carriere</caption>
				<tr>
					<th>mois</th>
					<th>année</th>
					<th>Catégorie</th>
					<th> Echelon</th>
				</tr>
 
 
 
	<?php
	while($carriere1=mysql_fetch_array($carriere))
	{
 
 
	echo '<tr>
	       <td align=CENTER>'.$carriere1['mois'].' </td>
                   <td align=CENTER>'. $carriere1['annee'].' </td>
                   <td align=CENTER>'.$resultat['categorie'].' </td>
                   <td align=CENTER>'.$resultat['echelon'].' </td>
		</tr>';
 
	}
	?>
	</table>