Daily Archives: January 20, 2016

using Join with Joomla 3 select statement

I took a while to get this right. $db = JFactory::getDbo(); $query = $db->getQuery(true); $query ->select(array(‘a.id’, ‘a.name’, ‘b.user_id’, ‘b.body’)) ->from($db->quoteName(‘#__users’, ‘a’)) ->join(‘INNER’, $db->quoteName(‘#__user_notes’, ‘b’) . ‘ ON (‘ . $db->quoteName(‘a.id’) . ‘ = ‘ . $db->quoteName(‘b.user_id’) . ‘)’) ->where($db->quoteName(‘b.body’) . … Continue reading

Posted in Joomla, PHP, Programming | Leave a comment

How to use CSS Flexbox

Flex is not fully supported by all browsers, but it very helpful for centering items with CSS. If you are not fimiluar with Flex below is a YouTube video I found very helpful. I hope this helps someone else out … Continue reading

Posted in browser, CSS, Responsive Web Design | Leave a comment