mysqli_stmt::next_result

mysqli_stmt_next_result

(PHP 5 >= 5.3.0, PHP 7)

mysqli_stmt::next_result -- mysqli_stmt_next_result複数クエリから、次の結果を読み込む

説明

オブジェクト指向型

public mysqli_stmt::next_result(): bool

手続き型:

mysqli_stmt_next_result(mysqli_stmt $statement): bool

複数クエリから、次の結果を読み込みます。

パラメータ

stmt

手続き型のみ: mysqli_stmt_init() が返す mysqli_stmt オブジェクト。

返り値

成功した場合に true を、失敗した場合に false を返します。

エラー / 例外

結果セットが存在しない場合は E_STRICT レベルのエラーが発生します。 そんな場合に備えて、まず mysqli_stmt::more_results() をコールしてから mysqli_stmt::next_result() をコールするようにしましょう。

MySQL ネイティブドライバ限定

mysqlnd でのみ使用可能です。

参考

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top