mysqli_stmt クラス

(PHP 5, PHP 7)

はじめに

プリペアドステートメントを表します。

クラス概要

mysqli_stmt {
/* プロパティ */
int|string $affected_rows;
int $errno;
string $error;
string $sqlstate;
/* メソッド */
public __construct ( mysqli $mysql , string|null $query = null )
public attr_get ( int $attribute ) : int
public attr_set ( int $attribute , int $value ) : 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|null
public free_result ( ) : void
public get_result ( ) : mysqli_result|false
public get_warnings ( ) : mysqli_warning|false
public more_results ( ) : bool
public next_result ( ) : bool
public num_rows ( ) : int|string
public prepare ( string $query ) : bool
public reset ( ) : bool
public result_metadata ( ) : mysqli_result|false
public send_long_data ( int $param_num , string $data ) : bool
public store_result ( ) : bool
}

目次