/ Published in: PHP
Querying the database in Joomla 1.5
Expand |
Embed | Plain Text
$query = "SELECT * FROM #__table"; $db =& JFactory::getDBO(); $db->setQuery($query); //Fetch results. Use ONLY one of the following $results = $db->loadObjectList(); $result = $db->loadObject(); $result = $db->query();
You need to login to post a comment.
