PDA

View Full Version : $userinfo


TTayfun
06-01-2012, 07:59 PM
how to run $userinfo command on showgroups.php ?

Lynne
06-01-2012, 09:32 PM
What do you mean "run $userinfo"? What are you trying to do?

Xp.Warrior
06-02-2012, 04:19 AM
im Not Understand

TTayfun
06-02-2012, 07:34 PM
Exmp. $userinfo[lastactivitytime] not working on showgroups templates.

Mko
06-02-2012, 08:20 PM
Exmp. $userinfo[lastactivitytime] not working on showgroups templates.
There needs to be quotes in between the [ ].
Here's how it should be:
$userinfo['lastactivitytime']

Lynne
06-03-2012, 01:09 AM
$userinfo is not a valid variable in those templates. I believe you need to use $user. But, since you haven't said what you are doing, and to what template, I'm not really sure.

TTayfun
06-04-2012, 01:31 PM
There needs to be quotes in between the [ ].
Here's how it should be:
$userinfo['lastactivitytime']

no, its wrong. this code only if condition in ;)

Lynne, yes $user code only works ;) Thankyou.