Ajout infos

This commit is contained in:
Rodolphe Quiedeville 2005-10-17 18:17:09 +00:00
parent 9ee4480974
commit 42f10cfda6

View File

@ -118,13 +118,14 @@ Function check_file($db,$dir,$file)
$ligne = new LigneTel($db); $ligne = new LigneTel($db);
if ($ligne->fetch($numero) == 1) if ($ligne->fetch($numero) == 1)
{ {
print "Ligne : $numero OK\n";
$ok++;
} }
else else
{ {
print "Ligne inconnue : $numero\n"; print "Ligne : $numero ERREUR\n";
} $nok++;
}
} }
} }
$line++; $line++;
@ -133,4 +134,7 @@ Function check_file($db,$dir,$file)
fclose($hf); fclose($hf);
return $error; return $error;
print "ok : $ok\n";
print "erreurs : $nok\n";
} }