|
Posted by Iván Sánchez Ortega on 02/13/07 19:19
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Françoise Debat wrote:
>> Eeeerrr.... $my_dir is not an array, you cannot run asort() through it!!
>
> Yes, I understand. How then can I sort the list alphabetically?
First dump all the directory entries in an array, *then* sort that array.
- --
- ----------------------------------
Iván Sánchez Ortega -ivansanchez-algarroba-escomposlinux-punto-org-
http://acm.asoc.fi.upm.es/~mr/
Proudly running Debian Linux with 2.6.17-1-686 kernel, KDE3.5.3, and PHP
5.2.0-8 generating this signature.
Uptime: 20:18:05 up 4:55, 1 user, load average: 0.56, 0.48, 1.01
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFF0g81R56dWuhgxGgRAngmAKDBYZXvHH2dQNjTRo2D0S4qDCrJwACdFAYs
Tif9X54tZaT43WaH6JjJA/s=
=ikhC
-----END PGP SIGNATURE-----
Navigation:
[Reply to this message]
|