Showing a different username
Hi! I have a $userid, and I want to change the username displayed for that id without changing the username. For example, I have a user named "abcd". For the user, I want to show "Mike" instead of abcd. I guess what I'm asking for is a display name/nickname? I should still be able to log in as abcd, but the name displayed should be different.
So far I retrieved some data from a database, and I'm trying to change the name displayed.
Thank you for all your help. Have a great holiday season.
|