PHP mysqli init() Function

PHP MySQLi Reference : Use of the mysqli_init() function

Definition and Usage

The init / mysqli_init() function initializes MySQLi and returns an object to use with the mysqli_real_connect() function.

Syntax

Object oriented style:

$mysqli -> init

Procedural style:

mysqli_init()

Technical Details

Return Value: An object to use with the mysqli_real_connect() function
PHP Version: 5+

❮ PHP MySQLi Reference