MySQL and PHP
Copyright 1997-2021 the PHP Documentation Group.
mysqli::next_result
mysqli_next_result
Prepare next result from multi_query
Object oriented style
public bool mysqli::next_result();
Procedural style
bool mysqli_next_result(mysqli link);
Prepares next result set from a previous call to
mysqli_multi_query
which can be retrieved by
mysqli_store_result
or
mysqli_use_result
.
link
Procedural style only: A link identifier returned by
mysqli_connect
or
mysqli_init
Returns true
on success or
false
on failure. Also returns
false
if the next statement resulted in an
error, unlike
mysqli_more_results
.
See
mysqli_multi_query
.
mysqli_multi_query
|
mysqli_more_results
|
mysqli_store_result
|
mysqli_use_result
|