Difference between revisions of "JDatabaseMySQLi::getNumRows"

From Joomla! Documentation

(Updated to r1448:247ba8d88526)
m (JoomlaWikiBot moved page JDatabaseMySQLi::getNumRows/11.1 to API17:JDatabaseMySQLi::getNumRows without leaving a redirect: Robot: Moved page)
(No difference)

Revision as of 16:12, 10 May 2013

Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

Joomla 11.1 JDatabaseMySQLi::getNumRows


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

Description:JDatabaseMySQLi::getNumRows [Edit Descripton]

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

SeeAlso:JDatabaseMySQLi::getNumRows [Edit See Also]

User contributed notes

<CodeExamplesForm />