Zitat:
Zitat von josum
... notfalls meld dich nochmal)
|
So ich habs mal getestet aber es klappt irgendwie nicht so recht...
So sieht es bei mir im moment aus
PHP-Code:
<div class="post"><!-- the post -->
<?php
$direc = opendir("/test");
while( $file = readdir($direc))
{
if( is_dir($file) )
{
array[$i] = $file;
i++;
}
/ Jetzt geben wir das aus, dafür müsste jede Datei gleich benannt sein, sonst muss da noch was anderes dazugehackt werden
foreach( $array as $ordner )
{
//echo $ordner
// Gebe Datei aus, Pfad liegt in $ordner
}
}
?>
</div>
</div>