funcion within a function
Posted: Mon Aug 18, 2003 4:28 pm
I have written a function and I have another function that I would like to execute within the first function. Can I do this with functions in php?
A community of PHP developers offering assistance, advice, discussion, and friendship.
http://forums.devnetwork.net/
Code: Select all
<?php
function FA()
{
$result = FB();
return $result;
}
function FB()
{
return "Hello";
}
echo(FA());
?>