From f764659af734658a338adb6a189d42d7590397a1 Mon Sep 17 00:00:00 2001 From: Daniel Tartavel Date: Sat, 31 Aug 2019 15:37:11 +0200 Subject: [PATCH] DT --- nconnector.php | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) 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); ?>