mysqli::next_result

mysqli_next_result

Prepare next result from multi_query

&reftitle.description;

&style.oop;

public `bool` `mysqli::next_result`

&style.procedural;

`bool` `mysqli_next_result` `mysqli` `mysql`

Prepares next result set from a previous call to `mysqli_multi_query` which can be retrieved by `mysqli_store_result` or `mysqli_use_result`.

&reftitle.parameters;

&mysqli.link.description;
&reftitle.returnvalues;

&return.success; Also returns &false; if the next statement resulted in an error, unlike `mysqli_more_results`.

&reftitle.errors; &mysqli.conditionalexception;
&reftitle.examples;

See `mysqli_multi_query`.

&reftitle.seealso;

- `mysqli_multi_query`
- `mysqli_more_results`
- `mysqli_store_result`
- `mysqli_use_result`