Press "Enter" to skip to content

Posts published in November 2012

Perform a Mysql Query using Joomla!

This is really actually meant for future reference for myself as lately I’ve been doing quite a lot of Joomla! mysql coding and have used the following code just short of 3million times. [code lang=”php”] $db = JFactory::getDbo(); $querySelectId = “SELECT `id` FROM #__some_table WHERE `user_id`=’$user_id'”; $db->setQuery($querySelectId); $db->query(); $data =…