Php/docs/class.mysqli-stmt

提供:Dev Guides
< Php
2020年12月14日 (月) 10:52時点におけるNotes (トーク | 投稿記録)による版 (autoload)
(差分) ← 古い版 | 最新版 (差分) | 新しい版 → (差分)
移動先:案内検索

(PHP 5, PHP 7)

はじめに

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


クラス概要


mysqli_stmt {

/* プロパティ */

int $affected_rows;

int $errno;

array $error_list;

string $error;

int $field_count;

int $insert_id;

int $num_rows;

int $param_count;

string $sqlstate;

/* メソッド */

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

}

目次