Using include() to execute PHP and assign the return value $addResult = include("myIncludeFileWithReturnValue.php"); print "The include file returned $addResult";?>