Documentation Home
Connectors and APIs Manual
Download this Manual
PDF (US Ltr) - 5.3Mb
PDF (A4) - 5.3Mb mysqli_warning::next

Copyright 1997-2022 the PHP Documentation Group.

  • mysqli_warning::next

    Fetch next warning

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.


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