(PHP 5 >= 5.3.0, PHP 7)
mysqli_stmt::next_result -- mysqli_stmt_next_result — Reads the next result from a multiple query
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.
stmt
Procedural style only: A statement identifier returned by mysqli_stmt_init().
Returns true
on success or false
on failure.
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().
Available only with mysqlnd.
© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/mysqli-stmt.next-result.php