Hey Atomiku, how goes it?
The include() function does not return any value. If you want to stick a php file into an array and have all code evaulated use the eval() function.
The prototype looks like:
mixed eval ( string code_str );
This ONLY evaulates PHP code, not HTML with nested PHP code.
So, if you had a random number generator named rannum.php you could read the rannum.php file into a variable called $rnfile and do:
$new_number = eval($rnfile);
Hope this helps!