I am trying to pull down users data under Authors group but I am not able to do it after expending a couple of hours.
How do I complete the following query to get users under a specific group?.
Code: Select all
$db =& JFactory::getDBO();
$query = "SELECT * FROM #__users" ;
$db->setQuery($query);
$users = $db->loadObjectList();