Hi,
I've made an image uploading system.
I am trying to make the admin centre for it.
On one of the pages it lists all the images.
How can i make it list the file by the date it was uploaded?
Here is wat i've got so far:
$list = "<table width=700 border=1 bordercolor=#000000 style=\"border-collapse: collapse\">";
$list .= "<tr><td width=700><center><b>Image List</b></center></td></tr>";
$dir = opendir($path);
while($file = readdir($dir)) {
if (($file != "..") and ($file != ".")) {
$list .= "<tr><td width=700><center>$file <a href='$dl$file' target='_blank'>View</a> | <a href=\"delete.php?d=$file\">Delete</a></center></td></tr>";
}
}
$list .= "</table>";
echo $list;