note 13778 rejected and deleted from function.readdir by philip

From: Date: Fri, 31 Aug 2001 05:48:29 +0000
Subject: note 13778 rejected and deleted from function.readdir by philip
Groups: php.notes 
Request: Send a blank email to php-notes+get-17422@lists.php.net to get a copy of this message
Hey how do i make the file write in alphabetical order? here is my script: <?php $handle=opendir('bands'); while (false!=($file = readdir($handle))) { if ($file != "." && $file != "..") { echo "<a href='int.php?page=bands/$file/$file'>n$file</a><br>"; } } closedir($handle); ?>

« previous php.notes (#17422) next »