I two scripts http://mysitedotcom/myscript/script1 and http://mysitedotcom/myscript/another_folder/script2/index.php
both files have their own database and admin folders
script1 has my header and footer layout.
and script2/index.php has the content.
Now I want to include the script2/index.php file into the script1 file, can this be done? And if yes then please let me know how.