DT
This commit is contained in:
parent
6c8c96934c
commit
90a95df0f5
@ -10,10 +10,11 @@ class db
|
|||||||
public $connect;
|
public $connect;
|
||||||
public $result;
|
public $result;
|
||||||
|
|
||||||
/*function __construct()
|
function __construct($database)
|
||||||
{
|
{
|
||||||
|
$this.open($database);
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
|
|
||||||
function open()
|
function open()
|
||||||
{
|
{
|
||||||
|
@ -7,10 +7,10 @@ require("config.inc.php");
|
|||||||
require("log.php");
|
require("log.php");
|
||||||
require("db.class.php");
|
require("db.class.php");
|
||||||
|
|
||||||
$doldb = new db();
|
$doldb = new db("dolibarr");
|
||||||
$doldb->database = "dolibarr";
|
//$doldb->database = ;
|
||||||
$ncdb = new db();
|
$ncdb = new db("nextcloud");
|
||||||
$ncdb->database = "nextcloud";
|
//$ncdb->database = "nextcloud";
|
||||||
$doldb->query("SELECT login FROM llx_adherents");
|
$doldb->query("SELECT login FROM llx_adherents");
|
||||||
|
|
||||||
function esp( $s )
|
function esp( $s )
|
||||||
|
Reference in New Issue
Block a user