Quelqu'un peut me renseigner sur le fait que mon in_array ne fonctionne pas correctement?
while ($tab = fgetcsv ($flect, 1500, ";"))
{
if ($tab[13] != "" && $tab[12] != "")
{
if (!(in_array($tab[13],$tab_verif)))
{
$tab_verif[0] = $tab[12];
$tab_verif[1] = $tab[13];
}
}
}
Meme si mon $tab[13] existe deja dans le tableau il s'ajoute encore mais pas pour tous?