Bonjour,
J'ai un big problème d'affichage des données provenant d'un bas MySQL. Elles sont insérées dans un tableau auquel j'ai attribué un région répétée (boucle) à la première ligne mais au lieu de s'afficher en ligne mes différents enregsitrement s'affichent en colonnes :-0.
Est-ce que quelqu'un sait comment on règle ce merdier ?
Voici le code de mon tableau (je dois aussi préciser que je travaille dans Dreamweaver) :
<div id="bloctexte"></div>
<table width="500" border="0" cellspacing="0" cellpadding="0">
<tr>
<th scope="col">Dates</th>
<th scope="col">Mois</th>
<th scope="col">Année</th>
<th scope="col">Tournois</th>
<th scope="col">Lieu</th>
<th scope="col">Pays</th>
<th scope="col">Score</th>
<th scope="col">Clssmt</th>
<th scope="col">Gains</th>
</tr>
<tr>
<?php do { ?>
<td><?php echo $row_rsSaison2009['dates']; ?></td>
<td><?php echo htmlentities($row_rsSaison2009['mois']); ?></td>
<td><?php echo $row_rsSaison2009['annee']; ?></td>
<td><?php echo htmlentities($row_rsSaison2009['tournois']); ?></td>
<td><?php echo htmlentities($row_rsSaison2009['lieu']); ?></td>
<td><?php echo htmlentities($row_rsSaison2009['pays']); ?></td>
<td><?php echo $row_rsSaison2009['score']; ?></td>
<td><?php echo htmlentities($row_rsSaison2009['classement']); ?></td>
<td><?php echo htmlentities($row_rsSaison2009['gains']); ?></td>
<?php } while ($row_rsSaison2009 = mysql_fetch_assoc($rsSaison2009)); ?>
</tr>
</table>
</div>
MERCI d'avance !
