Le samedi 15 avril 2006 à 17:59 +0200, Rafael Muñoz Moreno-Davila a
écrit :
> while($value = mysql_fetch_array($result)) {
> echo $value[$i];
> $i = $i+1;
> }
Bonjour,
Il s'agit d'un tableau; je ferais comme ça:
------8<---------------------------------------------------
$value = array();
$i = 0;
while ($value[] = mysql_fetch_array($result))
{
echo $value[$i]."\n"; # le \n pour un affichage plus sympa.
$i+=1;
}
------8<---------------------------------------------------
_______________________________________________
gull mailing list
[email protected]
http://lists.alphanet.ch/mailman/listinfo/gull