correction gestion correcte progressBar
This commit is contained in:
@@ -31,9 +31,15 @@ SMETI_db::$item = SMETI_db::$pdo->lastInsertId();
|
||||
SMETI_db::$parent = SMETI_db::$item;
|
||||
echo 'OK'.PHP_EOL;
|
||||
|
||||
$counter = 0;
|
||||
$shipments = json_decode(file_get_contents("../data/json/BMO/01_COLLECTIVITES.json"), true);
|
||||
foreach($shipments as $element)
|
||||
{
|
||||
// Gestion d'une barre de progression
|
||||
progressBar($counter, $nb_shipments);
|
||||
$counter += 1;
|
||||
// Gestion d'une barre de progression
|
||||
|
||||
// Ajouter un item
|
||||
SMETI_db::$code = $element['collcod'];
|
||||
SMETI_db::$libelle = $element['collnom'];
|
||||
|
||||
Reference in New Issue
Block a user