I have the number of the a user.
I would like to get his name.
Example: number 5.
Who is user number 5?

Comments

_michel_’s picture

This works.
Example user number 5.

<?php
$my_user = user_load(array('uid'=>5));
print $my_user->name;
?>

Any other solution?