Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<mysqli_warning::__constructmysqli_sql_exception>
^mysqli_warningLast updated: Mon, 26 Oct 2026

mysqli_warning::next

(PHP 5, PHP 7, PHP 8)

mysqli_warning::next — Fetch next warning

Description

public function 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


<mysqli_warning::__constructmysqli_sql_exception>
^mysqli_warningLast updated: Mon, 26 Oct 2026