global variables
Posted: Mon Apr 28, 2003 1:34 pm
Hello,
i have in an included file of a main file, a function that has
if($info){
global $info;
return true;
}
in the main file have a echo $info;
Now i know the info has data as test have proven so. But for some reason its not echoing $info how does the global $info affected in included files?
i have in an included file of a main file, a function that has
if($info){
global $info;
return true;
}
in the main file have a echo $info;
Now i know the info has data as test have proven so. But for some reason its not echoing $info how does the global $info affected in included files?