diff --git a/nconnector.php b/nconnector.php index f51615c..75f437d 100755 --- a/nconnector.php +++ b/nconnector.php @@ -20,7 +20,7 @@ $ncdb = new db("nextcloud"); $doldb->query("SELECT login FROM llx_adherent"); while ($login = $doldb->result->fetch_object()) { - print_r ($login); + echo ($login[login]); } -$result->close(); +$doldb->result->close(); ?>