最佳答案
function parts($part) {
$structure = 'http://' . $site_url . 'content/';
echo($tructure . $part . '.php');
}
This function uses a variable $site_url
that was defined at the top of this page, but this variable is not being passed into the function.
How do we get it to return in the function?