function __construct() { self::$SQL_CONNECTION = array(array('host' => self::$sql_hosts[0x0], 'db' => self::$sql_dbs[0x0], 'username' => self::$sql_accounts[0x0]['username'], 'password' => self::$sql_accounts[0x0]['password'])); }
function __construct($memory) { parent::__construct(); $this->connect = new PDO('mysql:host=' . self::$SQL_CONNECTION[$memory]['host'] . ';dbname=' . self::$SQL_CONNECTION[$memory]['db'], self::$SQL_CONNECTION[$memory]['username'], self::$SQL_CONNECTION[$memory]['password']); }