Hotaru Docs

 [həʊdɒks]

Function Reference/getUserNameFromId

Description

Returns the username for a given user id

Usage

<?php getUserNameFromId( $id ) ?>

Parameters

Template:Parameter

Return Values

int on success | false on failure.

Examples

<?php
     $name = $h->getUserNameFromId(5);         
?>

Source File

readPost() is located in content/hotaru.php which calls the userinfo.php file from the LIBS folder.

Related