Hello,
I have a peice of code called test_include.php look like this, it include two files, one file has a function, the other file try to call that function, but page return error : test_function() is undefined , I wonder why?
Many thanks to you!
<?
/ test_include.php /
include"http://www.blabla.com/function.php";
include"http://www.blabla.com/use_function.php";
?>
the function.php contain a function like this
<?
/ function.php /
function test_function($var)
{
return $var;
}
?>
the use_function.php call the above function
<?
/ use_function.php /
test_funtion("hello world");
?>