|
PHP5中文手册
mysqli_warning_countmysqli->warning_count(PHP 5) mysqli->warning_count — Returns the number of warnings from the last query for the given link 说明Procedural style:
int mysqli_warning_count
( mysqli $link
)
Object oriented style (property): mysqli
int$warning_count;
Returns the number of warnings from the last query in the connection.
返回值Number of warnings or zero if there are no warnings. 范例Example#1 Object oriented style
<?php Example#2 Procedural style
<?php 上例将输出:
|