RDV+DIAL chat illimit� dans ta r�g!
no save
Assistance
Achat
News

Forum | programmation
Parcourir un tableau php
dev123, le mar. 17 févr. 2009 à 14:18:11
Bonjour,
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 ) Configuration: Windows XP
Firefox 3.0.6
Version Web
Réalisé par RedShift
no save