mysqli_warning::next

(PHP 5, PHP 7)

mysqli_warning::nextFetch next warning

Description

public mysqli_warning::next ( ) : bool

Change warning information to the next warning if possible.

Once the warning has been set to the next warning, new values of properties message, sqlstate and errno of mysqli_warning are available.

Parameters

This function has no parameters.

Return Values

Returns true if next warning was fetched successfully. If there are no more warnings, it will return false

© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/mysqli-warning.next.php