MySQL and PHP

3.13.2 mysqli_warning::next

Copyright 1997-2019 the PHP Documentation Group.

Description

public bool mysqli_warning::next();

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