Can anybody help me on this?
I have a two modules and a variable is declared on the first. Is it possible that the second module can use the variable declared and defined in the first module?

Comments

bdragon’s picture

Status: Active » Fixed

Yeah, just use global $_my_module_variable in each place you need to access it.
(Note that we have a naming convention for module globals, see http://drupal.org/coding-standards )

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.