Using include() to Execute PHP and Assign the Return Value
<html>
<head>
<title>Acquiring a Return Value with include()</title>
</head>
<body>
<div>
<?php
$addResult = include("another.php");
print "The include file returned $addResult";
?>
</div>
</body>
</html>
//An Include File That Returns a Value
//another.php
<?php
$retval = ( 4 + 4 );
return $retval;
?>