ahcorad
Messages postés106Date d'inscriptionvendredi 17 juin 2005StatutMembreDernière intervention23 octobre 2007
-
20 mars 2006 à 22:47
sidf
Messages postés1216Date d'inscriptionmardi 20 décembre 2005StatutMembreDernière intervention18 octobre 2012
-
21 mars 2006 à 08:50
Comment fait-on pour récupérer l'ensemble des info d'un tableau qui peut etre modifié ???
ç ptet pa trè clair ! mon code :
$nb=0;
while($ligne=mysql_fetch_array($result_mysql))
{
// variable pour chaque champ
// nb++ est utile pour afficher la position de l'équipe :1-2-3-4-5-6-7-8
$nb++;
$num = $ligne['numequipe'];
$nom = $ligne['nomequipe'];
$vic = $ligne['nbvictoire'];
$nul = $ligne['nbnul'];
$def = $ligne['nbdefaite'];
$for = $ligne['nbforfait'];
$pg = $ligne['pg'];
$pp = $ligne['pp'];
$v=$v[$nb];
// affichage du tableau avec les variables enregistrées
echo'<tr>';
echo '<td align="center">'.$nb.'</td>';
echo '<td align="center">'.$nom.'</td>';
echo '<td></td>';
echo '<td></td>';
echo '<td></td>';
echo '<td></td>';
echo '<td></td>';
echo '<td></td>';
echo '</tr>';
ça me renvoi seulement la dernière ligne du tableau ! comment faire pour tout renvoyer ?? merci