Forum Moderators: coopster
The question is, is there a way to reference the folder name, which automatically will pull all the files in that folder. That way, I can simply include the folder, this will simplify my changes!
thanks
main_include.php
<?php
include 'include1.php';
include 'include2.php';
include 'include3.php';
include 'subdir1/include4.php';
include 'subdir1/include5.php';
include 'subdir1/anothersubdir/include6.php';
?>
<?php
include("subdir")
?>
Thanks for your help