diff --git a/nconnector.php b/nconnector.php index 5fe2680..057bc5b 100755 --- a/nconnector.php +++ b/nconnector.php @@ -7,17 +7,19 @@ require("config.inc.php"); require("log.php"); require("db.class.php"); -$doldb = new db("dolibarr"); -//$doldb->database = ; -$ncdb = new db("nextcloud"); -//$ncdb->database = "nextcloud"; -$doldb->query("SELECT login FROM llx_adherent"); - function esp( $s ) { $s = " $s "; return $s; } -var_print($doldb); +$doldb = new db("dolibarr"); +//$doldb->database = ; +$ncdb = new db("nextcloud"); +//$ncdb->database = "nextcloud"; +$doldb->query("SELECT login FROM llx_adherent"); + + + +print_r($doldb); ?>