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(); ?>