jc_gmk
02-19-2008, 04:31 PM
I have a PHP script that uses opendir() and readdir().
I use a while loop to display the results as a list. This works fine on my localhost but not on my web server (displays them in a random order).
Is there any function I can use to sort the results of the while statement (Alphabetically)?
I use a while loop to display the results as a list. This works fine on my localhost but not on my web server (displays them in a random order).
Is there any function I can use to sort the results of the while statement (Alphabetically)?