Mysqli
PHP Manual

MySQLi_STMT类

(PHP 5, PHP 7)

简介

代表一个预编译 SQL 语句。

类摘要

mysqli_stmt {
/* 属性 */
int $errno;
string $error;
string $sqlstate;
/* 方法 */
int mysqli_stmt_affected_rows ( mysqli_stmt $stmt )
int attr_get ( int $attr )
bool attr_set ( int $attr , int $mode )
bool bind_param ( string $types , mixed &$var1 [, mixed &$... ] )
bool bind_result ( mixed &$var1 [, mixed &$... ] )
bool close ( void )
void data_seek ( int $offset )
int mysqli_stmt_errno ( mysqli_stmt $stmt )
array mysqli_stmt_error_list ( mysqli_stmt $stmt )
string mysqli_stmt_error ( mysqli_stmt $stmt )
bool execute ( void )
bool fetch ( void )
int mysqli_stmt_field_count ( mysqli_stmt $stmt )
void free_result ( void )
mysqli_result get_result ( void )
object get_warnings ( mysqli_stmt $stmt )
mixed mysqli_stmt_insert_id ( mysqli_stmt $stmt )
public bool more_results ( void )
public bool next_result ( void )
int num_rows ( void )
int mysqli_stmt_param_count ( mysqli_stmt $stmt )
mixed prepare ( string $query )
bool reset ( void )
mysqli_result result_metadata ( void )
bool send_long_data ( int $param_nr , string $data )
string mysqli_stmt_sqlstate ( mysqli_stmt $stmt )
bool store_result ( void )
}

Table of Contents


Mysqli
PHP Manual