well i have this code for example
<?php
$dh = dir ('banners/newbanners');
while ($entry = $dh -> read()) {
print $entry[0] . "\n";
}
$dh ->close();
?>
and it does fine except that the print, print out the first letter of everything, as opossed to the first file that is listed in the array, is there a better way to split this up?