alphabetically down columns in a table
| From: | Abdul-Wahid Paterson | Date: | Mon, 10 Jan 2005 14:40:28 +0000 |
| Subject: | alphabetically down columns in a table | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-12136@lists.php.net to get a copy of this message | ||
Hi,
I have some data that I want to display in columns (2 or more) sorted
alphabetically. However, instead of going across the columns
alphabetically I want it to go down the columns. Is there any way of
doing this easily in smarty given an array of data.
E.g...formatted data would be like
aa af ak
ab ag al
ac ah am
ad ai an
ae aj
rather than like
aa ab ac
ad ae af
ag ah ai
aj ak l
am an
Thanks,
Abdul-Wahid