Bonjour, j'ais un code pour afficher les membres de ma team en 3 tableaux: les leader, les menbres et les recrus.
Je les classes par grade mais il y à une erreur et je ne voit pas du totu ou, pouvez vosu m'aider svp...

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
	   <center><br>
<b>:: Team Elite ::</b><br>
<br>
 
<table width="55%" class="team">
<tr class="news">
<td width="25%">Pseudo</td> <td width="5%">Mail</td> <td width="25%">Grade</td>
</tr>
<?php
include ('config/config.inc.php');
include('fonction_grade.php');
mysql_connect ($host, $username, $password);
mysql_select_db ($bdd_name);
 
$reponse = mysql_query("SELECT * FROM fsb_membres WHERE rang='te' ORDER BY grade");
 
while ($donnees = mysql_fetch_array($reponse) )
{
?>
 
<tr>
<td width="25%"><?php echo $donnees['membre_login']; ?></td> <td width="5%"><a href="mailto:<?php echo $donnees['membre_email']; ?>"><img style="border: 0;" src="images/msn.gif" alt="" title="<?php echo $donnees['membre_email']; ?>" /></a></td>
<td width="25%"><?php echo grade($donnees['grade']); ?></td>	
</tr>
 
<?php
}
mysql_close();
?>
</table>
<br>
<br>
<b>:: Team ADO ::</b><br>
<br>
 
<table width="55%" class="team">
<tr class="news">
<td width="25%">Pseudo</td> <td width="5%">Mail</td> <td width="25%">Grade</td>
</tr>
<?php
include ('config/config.inc.php');
include('fonction_grade.php');
mysql_connect ($host, $username, $password);
mysql_select_db ($bdd_name);
 
$reponse = mysql_query("SELECT * FROM fsb_membres WHERE rang='ado' ORDER BY grade");
 
while ($donnees = mysql_fetch_array($reponse) )
{
?>
 
<tr>
<td width="25%"><?php echo $donnees['membre_login']; ?></td>
<td width="5%"><a href="mailto:<?php echo $donnees['membre_email']; ?>"><img style="border: 0;" src="images/msn.gif" alt="" title="<?php echo $donnees['membre_email']; ?>" /></a></td>
<td width="25%"><?php echo grade($donnees['grade']); ?></td>
 
</tr>
 
<?php
}
mysql_close();
?>
</table>
<br>
<br>
<b>:: Membres en test ::</b><br>
<br>
 
<table width="55%" class="team">
<tr class="news">
<td width="25%">Pseudo</td> <td width="5%">Mail</td> <td width="25%">Grade</td>
</tr>
<?php
include ('config/config.inc.php');
 
mysql_connect ($host, $username, $password);
mysql_select_db ($bdd_name);
 
$reponse = mysql_query("SELECT * FROM fsb_membres WHERE rang='test'");
 
while ($donnees = mysql_fetch_array($reponse) )
{
?>
 
<tr>
<td width="25%"><?php echo $donnees['membre_login']; ?></td> <td width="5%"><a href="mailto:<?php echo $donnees['membre_email']; ?>"><img style="border: 0;" src="images/msn.gif" alt="" title="<?php echo $donnees['membre_email']; ?>" /></a></td> <td width="25%">Recrus</td>
</tr>
 
<?php
}
mysql_close();
?>