Php/docs/class.mysqli-stmt

From Get docs

(PHP 5, PHP 7)

Introduction

Represents a prepared statement.


Class synopsis


mysqli_stmt {

/* Properties */

int $affected_rows;

int $errno;

array $error_list;

string $error;

int $field_count;

int $insert_id;

int $num_rows;

int $param_count;

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 send_long_data ( int $param_nr , string $data ) : bool

public store_result ( ) : bool

}

Table of Contents