How to get username?
So I have added a custom link on the user profile pages using HTML whick looks like this: http://somewebsite.com/members/username/something and I want the word “username” to be replaced by the username of the user whose profile is being displayed. I know I will have to use PHP (like: http://somewebsite.com/members/
<?php //some code here?>/something)
but I know nothing about that. How can I do that?
- You must be logged in to reply to this topic.