e4games Posted October 17, 2009 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. Link to comment Share on other sites More sharing options...
Synook Posted October 18, 2009 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. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.