mysqli_stmt::next_result

mysqli_stmt_next_result

(PHP 5 >= 5.3.0, PHP 7, PHP 8)

mysqli_stmt::next_result -- mysqli_stmt_next_resultReads the next result from a multiple query

说明

面向对象风格

public mysqli_stmt::next_result ( ) : bool

过程化风格:

mysqli_stmt_next_result ( mysqli_stmt $statement ) : bool

Reads the next result from a multiple query.

Note:

仅可用于 mysqlnd

参数

stmt

仅以过程化样式:由 mysqli_stmt_init() 返回的 statement 标识。

返回值

成功时返回 true, 或者在失败时返回 false

错误/异常

Emits an E_STRICT level error if a result set does not exist, and suggests using mysqli_stmt::more_results() in these cases, before calling mysqli_stmt::next_result().

参见

User Contributed Notes

There are no user contributed notes for this page.