Php/docs/mysqli-stmt.next-result
From Get docs
mysqli_stmt::next_result
mysqli_stmt_next_result
(PHP 5 >= 5.3.0, PHP 7)
mysqli_stmt::next_result -- mysqli_stmt_next_result — Reads the next result from a multiple query
Description
Object oriented style
public mysqli_stmt::next_result ( ) : bool
Procedural style:
mysqli_stmt_next_result
( mysql_stmt $stmt
) : bool
Reads the next result from a multiple query.
Return Values
Returns TRUE
on success or FALSE
on failure.
Errors/Exceptions
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().
See Also
- mysqli_stmt::more_results() - Check if there are more query results from a multiple query
- mysqli::multi_query() - Performs a query on the database