The mysqli_stmt class

(PHP 5, PHP 7)

Introduction

Represents a prepared statement.

Class synopsis

mysqli_stmt {
/* Properties */
intaffected_rows;
interrno;
arrayerror_list;
stringerror;
intfield_count;
intinsert_id;
intnum_rows;
intparam_count;
stringsqlstate;
/* Methods */
public __construct ( mysqli $link [, string $query ] )
public attr_get ( int $attr ) : int
public attr_set ( int $attr , int $mode ) : bool
public bind_param ( string $types , mixed &$var1 [, mixed &$... ] ) : bool
public bind_result ( mixed &$var1 [, mixed &$... ] ) : bool
public close ( void ) : bool
public data_seek ( int $offset ) : void
public execute ( void ) : bool
public fetch ( void ) : bool
public free_result ( void ) : void
public get_result ( void ) : mysqli_result
public get_warnings ( void ) : object
public more_results ( void ) : bool
public next_result ( void ) : bool
public num_rows ( void ) : int
public prepare ( string $query ) : mixed
public reset ( void ) : bool
public result_metadata ( void ) : mysqli_result
public send_long_data ( int $param_nr , string $data ) : bool
public store_result ( void ) : bool
}

Table of Contents