PHP Manual: maxdb_warning_count
maxdb_warning_count
(PECL)
maxdb_warning_count(no version information, might be only in CVS)
maxdb->warning_count -- Returns the number of warnings from the last query for the given linkDescription
Procedural style:
int maxdb_warning_count ( resource link )Object oriented style (property):
class maxdb {int warning_count
}
maxdb_warning_count() returns the number of warnings
from the last query in the connection represented by the
link parameter.
Examples
Example 2. Procedural style
|
The above examples would produce the following output:
Warning: maxdb_query(): -8004 POS(62) Constant must be compatible with column type and length <...> Number of warning: 0 |