#!/usr/bin/php database = ; $ncdb = new db("nextcloud"); //$ncdb->database = "nextcloud"; $doldb->query("SELECT login FROM llx_adherent"); while ($login = $doldb->result->fetch_object()) { echo $login[]; } $result->close(); ?>