X Quiz
04-11-2007, 06:14 AM
Hi,
I want to use $userinfo['posts'] in global_start to make a function to use it in "header".
This is my plugin:
$ex = $userinfo['posts'] / 5000;
$exp = round($ex,2);
but it doesn't work!
when I change it to : postpit_dispaly_start it works?
So, as I think the problem maybe because the variable $userinfo['posts'] is not define in global_start to work in header?!
any Idea about that?
thank you.
I want to use $userinfo['posts'] in global_start to make a function to use it in "header".
This is my plugin:
$ex = $userinfo['posts'] / 5000;
$exp = round($ex,2);
but it doesn't work!
when I change it to : postpit_dispaly_start it works?
So, as I think the problem maybe because the variable $userinfo['posts'] is not define in global_start to work in header?!
any Idea about that?
thank you.