name_from_id (function)

Purpose:

Returns the username when given a user's id

Example:

echo name_from_id(1);

Data Type(s):

name_from_id(int);

Location:

users/helpers/helpers.php

Details:

This is less flexible than the echoUser function, but it may be useful.
It automatically capitalizes the first letter.

<?php echo name_from_id(1);?>
prints
Admin