clamcrusher
01-27-2005, 06:35 PM
what variable(if any) is the current users usergroup stored in?
basically i want to do something like this
<?php
if ($user['usergroup'] == 'admin') {
// do something
}
?>
btw- im refering to the user who is making the page request. im not taling about looping through the results of some db query.
thanks.
basically i want to do something like this
<?php
if ($user['usergroup'] == 'admin') {
// do something
}
?>
btw- im refering to the user who is making the page request. im not taling about looping through the results of some db query.
thanks.