Skip to content

Instantly share code, notes, and snippets.

@vielhuber
Last active September 22, 2017 23:12
Show Gist options
  • Save vielhuber/719a169dce35d854c40f to your computer and use it in GitHub Desktop.
Save vielhuber/719a169dce35d854c40f to your computer and use it in GitHub Desktop.
DB load single row #joomla
$db->setQuery($db->getQuery(true)->select("*")->from($db->quoteName('#__js_table'))->where($db->quoteName('ID').' = '.$db->quote(1)))->loadObject();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment