mysqli_warning_count
mysqli->warning_count
Returns the number of warnings from the last query for the given link
Description
Procedural style:
intmysqli_warning_count
objectlink
Object oriented style (property):
mysqli
intwarning_count
mysqli_warning_count returns the number of warnings
from the last query in the connection represented by the
link parameter.
For retrieving warning messages you can use the SQL command
SHOW WARNINGS [limit row_count].
Return values
Number of warnings or zero if there are no warnings.
See also
mysqli_errno,
mysqli_error,
mysqli_sqlstate