MYSQLI_INIT(3) 1 MYSQLI_INIT(3)
mysqli::init - Initializes MySQLi and returns a resource for use with mysqli_real_connect()
Object oriented style
SYNOPSIS
mysqli mysqli::init (void )
DESCRIPTION
Procedural style
mysqli mysqli_init (void )
Allocates or initializes a MYSQL object suitable for mysqli_options(3) and mysqli_real_connect(3).
Note
Any subsequent calls to any mysqli function (except mysqli_options(3)) will fail until mysqli_real_connect(3) was called.
RETURN VALUES
Returns an object.
EXAMPLES
See mysqli_real_connect(3).
SEE ALSO
mysqli_options(3), mysqli_close(3), mysqli_real_connect(3), mysqli_connect(3).
PHP Documentation Group MYSQLI_INIT(3)