J'ai un petit probleme dans mes boucle pour parcourir un tableau:
Merci de helpp
for($i = 1; $i <$nbquestion; $i++)
{
for($j =0; $j<$nbquestion;)
{
echo $tabaff[$j].'<br>';
if ($tabaff[$j] == $tabaff[$i])
{
echo 'erreur';
}
else
{
$j++;
}
}
}
sachant que le tablea correspond a sa
Array ( [0] => 1 [1] => 2 )
