The mysqli_stmt class

(PHP 5, PHP 7)

Introduction

Represents a prepared statement.

Class synopsis

mysqli_stmt {
/* Properties */
int $errno;
string $error;
string $sqlstate;
/* Methods */
__construct ( mysqli $link [, string $query ] )
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
execute ( void ) : bool
fetch ( void ) : bool
free_result ( void ) : void
get_warnings ( mysqli_stmt $stmt ) : object
num_rows ( void ) : int
prepare ( string $query ) : mixed
reset ( void ) : bool
send_long_data ( int $param_nr , string $data ) : bool
store_result ( void ) : bool
}

Table of Contents