A classe MySQLi
Introdução
Representa uma conexão entre o PHP e um banco de dados MySQL.
Sinopse da classe
class MySQLi
{
int $affected_rows;
int $errno;
string $error;
string $host_info;
string $protocol_version;
string $server_info;
int $server_version;
string $info;
int $insert_id;
mysqli_affected_rows(
mysqli $link
):
int
public mysqli::connect(
?string $hostname
= null
,
?string $username
= null
,
?string $password
= null
,
?string $database
= null
,
?int $port
= null
,
?string $socket
= null
):
bool
mysqli_errno(
mysqli $link
):
int
mysqli_error_list(
mysqli $mysql
):
array
mysqli_error(
mysqli $link
):
string
mysqli_get_host_info(
mysqli $link
):
string
mysqli_get_proto_info(
mysqli $link
):
int
mysqli_get_server_info(
mysqli $link
):
string
mysqli_get_server_version(
mysqli $link
):
int
mysqli_info(
mysqli $link
):
string
mysqli_insert_id(
mysqli $link
):
int
public static mysqli::poll(
?array &$read
,
?array &$error
,
array &$reject
,
int $seconds
,
int $microseconds
= 0):
int|false
public mysqli::real_connect(
?string $hostname
= null
,
?string $username
= null
,
?string $password
= null
,
?string $database
= null
,
?int $port
= null
,
?string $socket
= null
,
int $flags
= 0):
bool
mysqli_sqlstate(
mysqli $mysql
):
string
public mysqli::ssl_set(
?string $key
,
?string $certificate
,
?string $ca_certificate
,
?string $ca_path
,
?string $cipher_algos
):
true
mysqli_thread_id(
mysqli $mysql
):
int
mysqli_warning_count(
mysqli $mysql
):
int
}
Índice
There are no user contributed notes for this page.