<?
$username="user";
$password="pass";
$database="db";
mysql_connect(localhost,$username,$password);
@mysql_select_db($database) or die( "Unable to select database");
$query="SELECT * FROM phpbb_user_group, phpbb_users WHERE (phpbb_user_group.group_id='232') ORDER BY username ASC";
$result=mysql_query($query);
mysql_close();
while($data = mysql_fetch_object($result)) {
echo $data->username . "<br>";
}
?>
OK...this is what I have now and I get the list of user names and
it lists all the usernames in field....not just the ones in group_id 232. It also lists the names 20 times each.