|
PHP5中文手册
maxdb_stmt_num_rowsstmt->num_rows(No version information available, might be only in CVS) stmt->num_rows — Return the number of rows in statements result set 说明Procedural style :
int maxdb_stmt_num_rows
( resource $stmt
)
Object oriented style (property): stmt
int$num_rows;
Returns the number of rows in the result set. 返回值An integer representing the number of rows in result set. 范例Example#1 Object oriented style
<?php Example#2 Procedural style
<?php The above examples would produce the following output:
|