哈希空间 Ctrl + F 进行搜索
首页 php手册中文版 CSS中文手册 哈希文档 Markdown在线工具

PHP mysqli 组件

MySQLi_STMT类

(PHP 5, PHP 7, PHP 8)

简介

代表一个预编译 SQL 语句。

类摘要

class mysqli_stmt {
/* 属性 */
int|string $affected_rows;
int $errno;
array $error_list;
string $error;
int|string $insert_id;
int|string $num_rows;
string $sqlstate;
/* 方法 */
mysqli_stmt_affected_rows(mysqli_stmt $statement): int|string
public attr_get(int $attribute): int
public attr_set(int $attribute, int $value): bool
public bind_param(string $types, mixed &$var, mixed &...$vars): bool
public bind_result(mixed &$var, mixed &...$vars): bool
public close(): bool
public data_seek(int $offset): void
mysqli_stmt_errno(mysqli_stmt $statement): int
mysqli_stmt_error_list(mysqli_stmt $statement): array
mysqli_stmt_error(mysqli_stmt $statement): string
public execute(?array $params = null): bool
public fetch(): ?bool
mysqli_stmt_field_count(mysqli_stmt $statement): int
public free_result(): void
public get_result(): mysqli_result|false
public get_warnings(): mysqli_warning|false
mysqli_stmt_insert_id(mysqli_stmt $statement): int|string
public more_results(): bool
public next_result(): bool
public num_rows(): int|string
mysqli_stmt_param_count(mysqli_stmt $statement): int
public prepare(string $query): bool
public reset(): bool
public result_metadata(): mysqli_result|false
public send_long_data(int $param_num, string $data): bool
mysqli_stmt_sqlstate(mysqli_stmt $statement): string
public store_result(): bool
}

目录

打开 哈希空间 微信小程序中查看更佳