Bonjour,
j'ai un problème concernant la programmation xhtml / php et plus particulièrement la boucle while :
voici mon programme :
<?
$connection=mysqli_connect("localhost", "root", "", "prog");
$resultformation=mysqli_query($connection,"select * from formation ;");
$rowformation=mysqli_fetch_array($resultformation);
while($rowformation = mysqli_fetch_array($resultformation))
{
echo $rowformation["annee_entree"]." - ".$rowformation["annee_sortie"]." <br />";
}
?>
Ce programme m'affiche uniquement la première ligne de ma base de données (que la première année donc)
Merci pour votre aide
