Answer the question
In order to leave comments, you need to log in
Working with a database in Joomla?
It is necessary to make one more connection to the database in a separate file in the root of the site, for some reason this code does not work (it is not even processed, everything is displayed after "$db = JFactory::getDbo();")
<?
$db = JFactory::getDbo();
$query = $db->getQuery(true);
$query->select($db->quoteName(array('id', 'title', 'fulltext', 'created')));
$query->from($db->quoteName('#__content'));
$query->where($db->quoteName('fulltext') . ' LIKE '. $db->quote('\'%\''));
$query->order('ordering ASC');
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question