php8.5
Home/ Manual/ mysqli / mysqli_warning/ mysqli_warning::next

mysqli_warning::next

PHP function Edit on GitHub ✎

(PHP 5, PHP 7, PHP 8)

Fetch next warning

Description

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 Parameters

Return Values

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

Source: reference/mysqli/mysqli_warning/next.xml · from the official PHP manual (php/doc-en)