By whoisthemonkey on
Hi, i have a script in one of my blocks that i assign a country pulled from a geoip site to $visitor_country_name. The block does what its suppose to do and displays the right thing for that country.
However.. when i try and use $visitor_country_name in another one of my blocks it isnt assigned to anything. Is there a way to make variables global in drupal? so i can call $visitor_country_name anywhere anytime?
Or is it limited to just one block?
Comments
Does this help?
http://drupal.org/node/16383
--
Anton
New to Drupal? | Forum posting tips | Troubleshooting FAQ
Anyone that is willing to
Anyone that is willing to help me.. use the contact form and contact me and ill pay you to figure it out. I really need this asap. Thanks
global drupal variables
i know this was a long time ago, but i'm new and i would like the same answer. did you figure it out?
mwease@tx.rr.com