(PHP 5)
mysqli_stmt_num_rows
(no version information, might be only in CVS)
stmt->num_rows -- Return the number of rows in statements result set
Описание
Procedural style :
int
mysqli_stmt_num_rows ( mysqli_stmt stmt )
Object oriented style (property):
class
mysqli_stmt {
int num_rows
}
Returns the number of rows in the result set.
The use of mysqli_stmt_num_rows()
depends on whether or not you used
mysqli_stmt_store_result() to buffer the entire result
set in the statement handle.
If you use mysqli_stmt_store_result(),
mysqli_stmt_num_rows() may be called immediately.