MySQLi类
(PHP 5, PHP 7)
简介
代表PHP和Mysql数据库之间的一个连接。
类摘要
MySQLi
{
int $errno;
int mysqli_affected_rows
(
mysqli $link
)
string mysqli_get_client_info
(
mysqli $link
)
int mysqli_get_client_version
(
mysqli $link
)
int mysqli_connect_errno
( void
)
string mysqli_connect_error
( void
)
mysqli mysqli_connect
([ 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")
]]]]]] )
int mysqli_errno
(
mysqli $link
)
array mysqli_error_list
(
mysqli $link
)
string mysqli_error
(
mysqli $link
)
int mysqli_field_count
(
mysqli $link
)
array mysqli_get_client_stats
( void
)
int mysqli_get_client_version
(
mysqli $link
)
string mysqli_get_host_info
(
mysqli $link
)
int mysqli_get_proto_info
(
mysqli $link
)
string mysqli_get_server_info
(
mysqli $link
)
int mysqli_get_server_version
(
mysqli $link
)
string mysqli_info
(
mysqli $link
)
mixed mysqli_insert_id
(
mysqli $link
)
public static int mysqli::poll
(
array &$read
,
array &$error
,
array &$reject
,
int $sec
[,
int $usec
] )
mixed mysqli::query
(
string $query
[,
int $resultmode
= MYSQLI_STORE_RESULT
] )
bool mysqli::real_connect
([
string $host
[,
string $username
[,
string $passwd
[,
string $dbname
[,
int $port
[,
string $socket
[,
int $flags
]]]]]]] )
void mysqli_set_local_infile_default
(
mysqli $link
)
string mysqli_sqlstate
(
mysqli $link
)
bool mysqli::ssl_set
(
string $key
,
string $cert
,
string $ca
,
string $capath
,
string $cipher
)
int mysqli_thread_id
(
mysqli $link
)
bool mysqli_thread_safe
( void
)
int mysqli_warning_count
(
mysqli $link
)
}
Table of Contents
User Contributed Notes
There are no user contributed notes for this page.