The mysqli_stmt class

Introduction

(PHP 5, PHP 7)

Represents a prepared statement.

Class synopsis

mysqli_stmt {
/* Properties */
int $errno;
array $error_list;
string $error;
int $num_rows;
string $sqlstate;
/* 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 &$var , mixed &...$vars ) : bool
public bind_result ( mixed &$var , mixed &...$vars ) : bool
public close ( ) : bool
public data_seek ( int $offset ) : void
public execute ( ) : bool
public fetch ( ) : bool
public free_result ( ) : void
public get_result ( ) : mysqli_result
public get_warnings ( ) : object
public more_results ( ) : bool
public next_result ( ) : bool
public num_rows ( ) : int
public prepare ( string $query ) : mixed
public reset ( ) : bool
public result_metadata ( ) : mysqli_result
public send_long_data ( int $param_nr , string $data ) : bool
public store_result ( ) : bool
}

Table of Contents

© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/class.mysqli-stmt.php