Is there specific documentation available on Joomla regarding making database queries via MySQL in PHP?
What I'm really looking for:
Yes, Joomla has it's own OOP defined to deal with databases.
Usually, you will deal with code like this:
$db =& JFactory::getDBO();
$query = "SELECT * FROM #__example_table WHERE id = 999999;";
$db->setQuery($query);
Can read more here: How to use the database classes in your script
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With