MyBB Community Forums

Full Version: MyBB code question
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
(2011-07-09, 01:27 AM)Malcolm. Wrote: [ -> ]Simpler way.

$user = get_user($uid);
echo $user['username']

Correct me if I'm wrong, but he wants the UID from the username, you're giving him the username from the UID.
The only issue I see with getting the uid from the username is how do you handle username changes?
Pages: 1 2