You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$sql_check=mysql_query("SELECT members_priv.groups from members_priv WHERE members_priv.center_id='$center_id' and members_priv.$_GET[type] = 1 and members_priv.user_id = $_SESSION[MEM_ID]");
$row_check = mysql_fetch_array($sql_check);
$groups = $row_check["groups"];
$sql_center = "SELECT id, group_name from groups where id IN ($groups) order by group_name asc ";
} else {
$sql_center = "SELECT id, group_name from groups where center_id = $center_id order by group_name asc ";