The mysqli class
(PHP 5, PHP 7)
Introduction
Represents a connection between PHP and a MySQL database.
Class synopsis
mysqli
{
__construct
([
string $host
= ini_get("mysqli.default_host")
[,
string $username
= ini_get("mysqli.default_user")
[,
string $passwd
= ini_get("mysqli.default_pw")
[,
string $dbname
= ""
[,
int $port
= ini_get("mysqli.default_port")
[,
string $socket
= ini_get("mysqli.default_socket")
]]]]]] )
bool change_user
(
string $user
,
string $password
,
string $database
)
bool commit
([
int $flags
[,
string $name
]] )
bool debug
(
string $message
)
bool kill
(
int $processid
)
public static int poll
(
array &$read
,
array &$error
,
array &$reject
,
int $sec
[,
int $usec
] )
mysqli_stmt prepare
(
string $query
)
mixed query
(
string $query
[,
int $resultmode
= MYSQLI_STORE_RESULT
] )
bool real_connect
([
string $host
[,
string $username
[,
string $passwd
[,
string $dbname
[,
int $port
[,
string $socket
[,
int $flags
]]]]]]] )
public bool refresh
(
int $options
)
bool rollback
([
int $flags
[,
string $name
]] )
bool ssl_set
(
string $key
,
string $cert
,
string $ca
,
string $capath
,
string $cipher
)
}
Table of Contents
User Contributed Notes
There are no user contributed notes for this page.