hi im trying to display a load of images via the name alphabetically and it just doesnt work any ideas or even in number increments such as 1 2 3 4 5… and so on but it just doesnt do it here is my code any idea
<?php $dir = "img/thumbs"; //open directory if ($opendir = opendir($dir)) { //read directory while (($file=readdir($opendir)) !==FALSE) { if ($file!="."&&$file!="..") echo ""; } } ?> Untitled Document