I don't have much Joomla or PHP experience so I'm probably missing something really simple. I'm trying to load a certain list of user IDs into an array. This code works except it only loads one result.
$sql = 'SELECT user_id FROM #__user_usergroup_map WHERE group_id = ' . $usergroup; $usersInGroup = array(); $usersInGroup = $this->app->database->queryResult($sql);
Does queryresult() only support single results? Is there a different method that I can use that supports multiple results?