|
Posted by Tom Rogers on 03/24/05 15:48
Hi,
Thursday, March 24, 2005, 8:15:11 PM, you wrote:
AM> I have a script that lists the files in a directory, but when i have
AM> only ONE file , it won't display it ( here is the code :
AM> http://www.pastebin.com/262050 )
After you sort the $filename array its index changes from 1 to 0 so
your $i is 1 ahead of the array.
--
regards,
Tom
Navigation:
[Reply to this message]
|