Quote:
Originally Posted by MarcoH64
PHP Code:
global $myvar;
$myvar = "Whatever i want in this variable";
|
But
When a user enteres my page, the global_start hook is run. I save the referrer url in a global variable for each user. The variable is named the same though, but should contain different values for each user.
When I click on whosonline, the whosonlinebit template is run. Here i want to print out the referal url for each user. That is not possible because the whosonlinebit template doesn't print out my global variable. Plus how does it know which global variable belongs to which user?
I also posted this at vb.com
http://www.vbulletin.com/forum/showthread.php?t=163168