La clase mysqli
(PHP 5, PHP 7, PHP 8)
Introducción
Representa una conexión entre PHP y una base de datos MySQL.
Sinopsis de la Clase
class 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"))
change_user(
string $user
,
string $password
,
string $database
):
bool
commit(
int $flags
= ?,
string $name
= ?):
bool
debug(
string $message
):
bool
mysqli_stmt::get_server_info(): string
kill(
int $processid
):
bool
public static poll(
array &$read
,
array &$error
,
array &$reject
,
int $sec
,
int $usec
= ?):
int
query(
string $query
,
int $resultmode
= MYSQLI_STORE_RESULT):
mixed
real_connect(
string $host
= ?,
string $username
= ?,
string $passwd
= ?,
string $dbname
= ?,
int $port
= ?,
string $socket
= ?,
int $flags
= ?):
bool
rollback(
int $flags
= ?,
string $name
= ?):
bool
ssl_set(
string $key
,
string $cert
,
string $ca
,
string $capath
,
string $cipher
):
bool
}
Tabla de contenidos
There are no user contributed notes for this page.