JDatabaseMySQL::getNumRows
From Joomla! Documentation
Revision as of 15:59, 10 May 2013 by JoomlaWikiBot (talk | contribs) (JoomlaWikiBot moved page JDatabaseMySQL::getNumRows/11.1 to API17:JDatabaseMySQL::getNumRows without leaving a redirect: Robot: Moved page)
Revision as of 15:59, 10 May 2013 by JoomlaWikiBot (talk | contribs) (JoomlaWikiBot moved page JDatabaseMySQL::getNumRows/11.1 to API17:JDatabaseMySQL::getNumRows without leaving a redirect: Robot: Moved page)
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
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.
JDatabaseMySQL::getNumRows[edit]
Description[edit]
Get the number of returned rows for the previous executed SQL statement.
Template:Description:JDatabaseMySQL::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 264 of libraries/joomla/database/database/mysql.php
- Since
See also[edit]
- JDatabaseMySQL::getNumRows source code on BitBucket
- Class JDatabaseMySQL
- Subpackage Database
- Other versions of JDatabaseMySQL::getNumRows
Template:SeeAlso:JDatabaseMySQL::getNumRows [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />