e4games 0 Posted October 17, 2009 Report Share Posted October 17, 2009 So I know if you set (when they register) is you do something like $username, it will display the viewing persons username. But how do I make it so that it only displays one username. Like when someone posts something for it to display that username to everyone. Or do it like a avatar when u pick a avatar to make sure that it only displays that users avatar not who ever is viewing it. Quote Link to post Share on other sites
Synook 47 Posted October 18, 2009 Report Share Posted October 18, 2009 You store the author of the post in the database entry for the post, so that when the post is retrieved you use the user that is stored for that entry, not the currently logged in user. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.