API17

JDatabaseMySQLi::getNumRows

The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

Joomla 11.1 JDatabaseMySQLi::getNumRows

Description

Get the number of returned rows for the previous executed SQL statement.


public function getNumRows ($cursor=null)
Parameter Type Default Description
$cursor resource null An optional database cursor resource to extract the row count from.
  • Returns integer The number of returned rows.
  • Defined on line 286 of libraries/joomla/database/database/mysqli.php
  • Since Joomla 11.1

See also


User contributed notes

Code Examples


Advertisement