I\'m having trouble with global variables in php. I have a $screen var set in one file, which requires another file that calls an initSession() def
$screen
initSession()
It is useless till it is in the function or a class. Global means that you can use a variable in any part of program. So if the global is not contained in the function or a class there is no use of using Global