PHP Function Reference

PHP mysqli_warning next() Method



The PHP mysqli_warning::next() method fetches next warning. It changes 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.

Syntax

public mysqli_warning::next()

Parameters

No parameter is required.

Return Value

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


❮ PHP MySQLi Reference