1
0
This commit is contained in:
Daniel Tartavel 2019-09-02 22:34:58 +02:00
parent 996399f6a4
commit 8f35770764

View File

@ -13,6 +13,7 @@ function esp( $s )
return $s; return $s;
} }
$flag=0;
$doldb = new db("dolibarr"); $doldb = new db("dolibarr");
$ncdb = new db("nextcloud"); $ncdb = new db("nextcloud");
$doldb->query("SELECT login, firstname, lastname, pass_crypted, fk_adherent_type, address, email, phone_perso, phone_mobile, zip, town FROM llx_adherent"); $doldb->query("SELECT login, firstname, lastname, pass_crypted, fk_adherent_type, address, email, phone_perso, phone_mobile, zip, town FROM llx_adherent");
@ -76,7 +77,7 @@ while ($user = $doldb->result->fetch_assoc())
} }
} }
$ncdb->result->close(); $ncdb->result->close();
if ($flag > 4) exit; if ($flag > 5) exit;
} }
$doldb->result->close(); $doldb->result->close();
?> ?>