Hi,
I’m trying to take the different groups from a database (phpbb3). and create a list for each of the clans sections.
Admin group_id = 5
staff group_id = 12
members group_id = 16
I can get it to take the info from one group, but trying to take it from 2 groups I get no output (white page). If you could give me pointers on where i’m going wrong.
[php]// query for clan admins
$resulta = mysql_query(“SELECT username FROM phpbb_users WHERE group_id=‘5’”);
while ($row1 = mysql_fetch_array($resulta))
{
list($username) = $row1;
echo "[UKE]$username, ";
}
[/php]
if I add in another but chaning the $resulta and $row1 i get nothing