Last active
September 22, 2017 23:12
-
-
Save vielhuber/bc2e69bf5569e547e031 to your computer and use it in GitHub Desktop.
DB load multiple rows #joomla
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$db->setQuery($db->getQuery(true)->select("*")->from($db->quoteName('#__js_table'))->where($db->quoteName('ID').' = '.$db->quote(1))->order('pos ASC, ID ASC')->setLimit(10))->loadObjectList(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment