====== getNumRows ====== {#JAPI Joomla.Framework Database JDatabase::getNumRows #} Returns the number of rows returned by the most recent database query. ===== Syntax ===== integer getNumRows () ===== Examples ===== $database =& JFactory::getDBO(); $database->setQuery( "SELECT id FROM #__users" ); $database->query(); echo $database->getNumRows(); might produce: 1 ---- ~~DISCUSSION~~