Consider the code segment below. Then, from the options given, choose the case that would result in an integer. $db =& JFactory::getDBO(); $query = " SELECT count(*) FROM ".$db->nameQuote('#__my_table')."; "; $db->setQuery($query);
1.$result = $db->loadResult()
2.$result = $db->loadRow()
3.$result = $db->loadAssoc()
4.None of These