MySQLi_STMT类

(PHP 5, PHP 7)

简介

代表一个预编译 SQL 语句。

类摘要

mysqli_stmt {
/* 属性 */
int $errno;
string $error;
string $sqlstate;
/* 方法 */
mysqli_stmt_affected_rows ( mysqli_stmt $stmt ) : int
public attr_get ( int $attr ) : int
public attr_set ( int $attr , int $mode ) : 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 $stmt ) : int
mysqli_stmt_error_list ( mysqli_stmt $stmt ) : array
mysqli_stmt_error ( mysqli_stmt $stmt ) : string
public execute ( ) : bool
public fetch ( ) : bool
mysqli_stmt_field_count ( mysqli_stmt $stmt ) : int
public free_result ( ) : void
public get_warnings ( ) : object
mysqli_stmt_insert_id ( mysqli_stmt $stmt ) : mixed
public more_results ( ) : bool
public next_result ( ) : bool
public num_rows ( ) : int
mysqli_stmt_param_count ( mysqli_stmt $stmt ) : int
public prepare ( string $query ) : mixed
public reset ( ) : bool
public send_long_data ( int $param_nr , string $data ) : bool
mysqli_stmt_sqlstate ( mysqli_stmt $stmt ) : string
public store_result ( ) : bool
}

Table of Contents