|
mysqli::$warning_countmysqli_warning_countReturns the number of warnings generated by the most recently executed query DescriptionObject-oriented style int$mysqli->warning_count;
Procedural style
int mysqli_warning_count(mysqli
$mysql )Returns the number of warnings generated by the most recently executed query.
Parameters
Return ValuesNumber of warnings or zero if there are no warnings. ExamplesExample #1 $mysqli->warning_count example Object-oriented style
Procedural style
The above examples will output: Warning (1365): Division by 0 See Also
|