By scopas on
Hello,
I'm making a customized PHP page node, and would like to automatically get current user's username and email address as php $variables. Do I have to make a database query for this? I suspect some data is stored in global session variables, no?
Thanks,
Scopas
Comments
=-=
I believe you are looking for global $user
So global $user is an array
So global $user is an array of userspecific value?
Is it also possible to add session variables, such as $favorite_animal on one customized page, that can be called from another customized page?
Or do I need to POST the variables from page to page?
Regards,
Scopas