Hi, I have the following code...
##################
$myvar = "test";
function myfunc() {
global $myvar;
echo $myvar;
}
##################
However, when echoing $myvar it is blank. Can anybody tell me what I am
doing wrong?
global
|