Thank you, I must be missing something. I can't get the array working. Can you explain to me what I'm doing wrong? I'd like to learn.
PHP Code:
$handle=opendir("./content/uploaded");
$aFiles = array();
{
while (($file = readdir($handle))!==false)
{
$aFiles[$file] = filectime('./content/uploaded' . $file);
}
asort($aFiles);
foreach($aFiles as $value2){
echo( $value2 . " - " . date("F d Y .",filectime("./content/uploaded/" .$value2)). " <img src=./content/uploaded/" . $value2 . "</a>");
}
}
}
closedir($handle);