JDatabase::getNumRows/11.1

From Joomla! Documentation

Jump to: navigation, search

Joomla 11.1 JDatabase::getNumRows

Description

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

Description:JDatabase::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 1164 of libraries/joomla/database/database.php
  • Since Joomla 11.1

See also

SeeAlso:JDatabase::getNumRows [Edit See Also]

User contributed notes


Personal tools