I have the number of the a user. I would like to get his name. Example: number 5. Who is user number 5?
This works. Example user number 5.
<?php $my_user = user_load(array('uid'=>5)); print $my_user->name; ?>
Any other solution?
Comments
user_load function is a solution.
This works.
Example user number 5.
Any other solution?