- Online Exam Test Papers | - MCQs[multiple choice questions and answers ] | - Mock Test Papers | - Practice Papers | - Sample Test Papers |

Question:
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

Posted Date:-2022-10-12 11:22:25


More MCQS Questions and answers

Search