PHP Manualmaxdb_stmt_num_rowsmaxdb_stmt::num_rows(PECL maxdb >= 1.0) maxdb_stmt_num_rows -- maxdb_stmt::num_rows — Return the number of rows in statements result set DescriptionProcedural style
int maxdb_stmt_num_rows
( resource
$stmt
)Object oriented style int $maxdb_stmt->num_rows;
Returns the number of rows in the result set. Return ValuesAn integer representing the number of rows in result set. ExamplesExample #1 Object oriented style
<?php Example #2 Procedural style
<?php The above example will output something similar to: Number of rows: 25. See Also
![]() |
PHP-Index
New Tutorial entries
|