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