it should echo 2 times but it only echoes once!! This is based on a more complex script, so I made this small one up to post here.
<?
$abc="yo";
echo $abc;
function eh() { echo $abc; }
eh();
?>
Read the manual section on variable scope.
Ya I already figured it out.
Thanks ne way
Glad to have (sort of) helped. That was a productive 13 minutes.