I use the script photopost gallery and need a query to show usergroup level for the members.
I have this query
This works, but have a problem!Code:$query = "SELECT groupname FROM {$Globals['pp_db_prefix']}usergroups WHERE groupid=$usergroup"; $nomegrupo = ppmysql_query("SELECT groupname FROM {$Globals['pp_db_prefix']}usergroups WHERE groupid=$usergroup", $link); if($nomegrupo) { list( $usergroup ) = mysql_fetch_row($nomegrupo); }
For example if I make the login show my usergroup level [administrator] in all members. And show the same if login like a regular user. Only change the usergroup level for example show [gold] in all.
Can help me, please!
Thanks and sorry for my poor english.



Reply With Quote

Bookmarks