Beispiel #1
0
 function __construct($page, $size)
 {
     include 'dbconfig.php';
     $dbObject = new dbconfig();
     $this->dbCred = $dbObject->getConnDetails();
     mysql_connect($this->dbCred['host'], $this->dbCred['username'], $this->dbCred['password']);
     mysql_select_db($this->dbCred['database']);
     $this->page = $page;
     $this->size = $size;
 }
 function __construct()
 {
     include_once 'dbconfig.php';
     $dbObject = new dbconfig();
     $this->dbCred = $dbObject->getConnDetails();
 }