I have the following code:

<?
function a($var_a)
{
b();
}

function b()
{
global $var_a;
echo $var_a;
}

a("hello word!");
?>

why function b() don't echo anything? can I resolve this problem without
calling b($var_a)?


Best regards,
George Nicolae
IT Manager
___________________
PaginiWeb.com  - Professional Web Design
www.PaginiWeb.com





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to