|
PHP5中文手册
maxdb_warning_countmaxdb->warning_count(PECL maxdb:1.0-7.6.00.38) maxdb->warning_count — Returns the number of warnings from the last query for the given link 说明Procedural style:
int maxdb_warning_count
( resource $link
)
Object oriented style (property): maxdb
int$warning_count;
maxdb_warning_count() returns the number of warnings from the last query in the connection represented by the link parameter. 返回值Number of warnings or zero if there are no warnings. 范例Example#1 Object oriented style
<?php Example#2 Procedural style
<?php The above examples would produce the following output:
|