show/order by first letter
| From: | Alexander Wegener | Date: | Mon, 25 Jul 2005 19:55:53 +0000 |
| Subject: | show/order by first letter | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-12847@lists.php.net to get a copy of this message | ||
how can i display an array of names sorted by the first letter AND separated by it?
f.e.:
A
Australia
Austria
B
Belgium
....
up to now, i have separated the array names in a 2d array with 26 (+ one numeric) field.
is there a more elegant way?