is there a way that I can use glob recursive ly in the following code ?
Code: Select all
<?PHP
foreach(glob('Photos/*', GLOB_ONLYDIR) as $dir) {
echo '<b>'.$dir.'</b><br>';
}
?>
Thanks!
Moderator: General Moderators
Code: Select all
<?PHP
foreach(glob('Photos/*', GLOB_ONLYDIR) as $dir) {
echo '<b>'.$dir.'</b><br>';
}
?>