Re: php code to get the user name? Hi
I'm trying to get the user's username and user's name in the pages from my mambo site but i can't, this is the code that i used:
<?php
global $my;
$uname= $my->name;
echo "Your Name is: $uname";
?>
I stored that code into a php page and then i'm pulling out with a wrapper link, idon't know what is going on. |