I'm trying to create a module that will display the members of a particular usergroup in-line.
Here's my current SQL Query:
PHP Code:
$results = $db->query_read("SELECT username FROM " . TABLE_PREFIX . "user WHERE usergroupid = 2 ORDER BY username");
Can someone help me display the resulting usernames in-line?
Example:
user1; user2; user3; user4
Possibly relevant: This is all going to be executed in a PHP file. I will not be using any templates.
Thanks for reading.