MySQLi_STMT类

(PHP 5, PHP 7)

简介

代表一个预编译 SQL 语句。

类摘要

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

Table of Contents