Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Sign In
Not a member yet? Click here to register.

getuserlevel

This function will get and display the name of the given $userlevel.

getuserlevel

Quote

getuserlevel ( num $userlevel )


Return Values
This function will return the name to the given user level.

Example
Code
<?php
echo getuserlevel(0);
echo getuserlevel(101);
echo getuserlevel(102);
echo getuserlevel(103);
?>

This example will return the names of each different user levels.

Output

Quote


Guest
Member
Administrator
Super Administrator


Notes
This function will not work on user group names, for that purpose we recommend you to use the getgroupname().


See also …


References