Returns the number of rows in the result set.
The use of
depends on whether you used
buffer the entire result set in the statement handle. If you use
mysql_stmt_num_rows() may be
called immediately. Otherwise, the row count is unavailable
unless you count the rows as you fetch them.
intended for use with statements that return a result set, such
SELECT. For statements such as
DELETE, the number of affected
rows can be obtained with
The number of rows in the result set.
Copyright © 1997, 2015, Oracle and/or its affiliates. All rights reserved. Legal Notices