====== __construct ====== {#JAPI Joomla.Framework Database JDatabaseMySQLi::__construct #} Database object constructor. ===== Syntax ===== JDatabaseMySQLi __construct ( **$options** ) | **$options** | array | List of options used to configure the connection | The following parameters may be used in the **$option** array:- | **driver** | string | contains the name of the database driver. This parameter will always be 'mysqli' for the MySQLi driver. | | **host** | string | contains the name of the database host. This parameter is optional and if omitted defaults to 'localhost'. | | **user** | string | contains the user name to use to access the database. | | **password** | string | ontains the password that corresponds to the specified user. | | **database** | string | contains the name of the database to open. This parameter is optional and if omitted defaults to ''. | | **prefix** | string | contains the table prefix. This parameter is optional and if omitted default to 'jos_'. | | **select** | boolean | should be **true** if the database needs to be selected; **false** otherwise. This parameter is optional and if omitted defaults to **true**. | ===== Examples ===== ---- ~~DISCUSSION~~