1
0
This commit is contained in:
Daniel Tartavel 2019-08-31 12:41:48 +02:00
parent 6c8c96934c
commit 90a95df0f5
2 changed files with 7 additions and 6 deletions

View File

@ -10,10 +10,11 @@ class db
public $connect;
public $result;
/*function __construct()
function __construct($database)
{
$this.open($database);
}
*/
function open()
{

View File

@ -7,10 +7,10 @@ require("config.inc.php");
require("log.php");
require("db.class.php");
$doldb = new db();
$doldb->database = "dolibarr";
$ncdb = new db();
$ncdb->database = "nextcloud";
$doldb = new db("dolibarr");
//$doldb->database = ;
$ncdb = new db("nextcloud");
//$ncdb->database = "nextcloud";
$doldb->query("SELECT login FROM llx_adherents");
function esp( $s )