Global variable in Drupal module
Posted by sky | Tags: Drupal, Php
There is something different in a variable between a variable in a Drupal module and a variable in a normal php file.normal php$_User = "user"; function test() { global $_User; .. }
Drupal moduleIn Drupal module, I need the additional global $_User; Why? :? Previous Post Next Postglobal $_User; $_User = "user"; function test() { global $_User; .. }