Re: [PHP-DB] Sorting the output (opendir() and readdir())

2002-01-12 Thread DL Neil
Christian, > we have a directory with pics, that a user can associate with his data in a > form. we use opendir/readdir to show the directory contents. unfortunately, > this is not sorted. How can we achieve a listing in alphabetical order? > > this is our code: > > echo ""; > echo "please select

[PHP-DB] Sorting the output (opendir() and readdir())

2002-01-12 Thread Christian Krzywicki
we have a directory with pics, that a user can associate with his data in a form. we use opendir/readdir to show the directory contents. unfortunately, this is not sorted. How can we achieve a listing in alphabetical order? this is our code: echo ""; echo "please select"; $fp = opendir("../pics