Hi to all,
Have problem with this. Im want to use a variable in a function into another
function. such as:

<?
function test1()
{$hello="hello";}

function test2()
{test1();
print $hello;}

test2();

?>
This should print hello. But it does'nt work. Any idea?

Regards
mike


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

Reply via email to