Using codes now you can easily load objects from SQL queries. If you wish to do the same, then just copy-paste this functional code in your configuration.php file. The correct way to load objects from SQL queries in Joomla is given below.
<?php $query ->select('id, menutype, title') ->from('#__menu_types') ->where('menutype='.$db->quote($somemenu)); $db->setQuery($query); ?>
Some of the Possible errors that you may face while implementing the code is:
These above errors can be resolved in the following way:
If you are still unable to insert it or are facing any problem, then request a quote today.