Alright this probably sounds easier than it is :)
I've got two files:
file1.php
file2.php
Withing my file1.php is a loop and within that loop i'd like to execute (not include) file2.php.
while(1){ //execute file2.php }
I know i could use exec() or wrap file2.php into a function but is there a native function to do something like this?
includewill execute the script.