id2name
Usage: string id2name (int userid)
Purpose: Returns the username of the member ID specified.
Availability: IPB SDK 0.3
Purpose: Returns the username of the member ID specified.
Availability: IPB SDK 0.3
Returns the Username of the member ID specified in userid. userid should contain the user ID of the member on Invision Power Board.
userid can also be an array of user IDs. Returned data will keep the structure of the provided array, but all user IDs will be converted to usernames.
If a invalid user ID is provided FALSE will be returned.
This function is the opposite of name2id.
/* Prints Name = Cow ID = 1 */
echo 'Name = '.$SDK->id2name("1").' ID = 1';
echo 'Name = '.$SDK->id2name("1").' ID = 1';
See Also: name2id
User Contributed Notes
Documentation Generated at Sat, 16 Apr 2005 07:36:35 -0700
Find the latest version at http://ipbsdk.sourceforge.net
There are currently no user contributed notes for this page.