Quote:
Originally Posted by Osterling
I am trying to put $vbulletin->userinfo['username'] into a variable named $username, however it isn't working. Here is my code, is there something I am missing?
$username = $vbulletin->userinfo['username'];
|
That should work as long as the page with that code includes global.php
You dont have anything else that uses the variable $username do you?
What happens if you name the variable something else like $member_name ?