From dd070de68a105c9885f79ff55e9f8e4ce9052f31 Mon Sep 17 00:00:00 2001 From: Daniel Tartavel Date: Sat, 31 Aug 2019 16:13:31 +0200 Subject: [PATCH] DT --- nconnector.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/nconnector.php b/nconnector.php index 43388d7..3dbc28d 100755 --- a/nconnector.php +++ b/nconnector.php @@ -18,6 +18,9 @@ $doldb = new db("dolibarr"); $ncdb = new db("nextcloud"); //$ncdb->database = "nextcloud"; $doldb->query("SELECT login FROM llx_adherent"); -print_r($doldb); -print_r($doldb->query); +while ($login = $result->fetch_object()) +{ + echo $login; +} +$result->close(); ?>