I have been having trouble coming up with an effective way to take a list of values from a dataset and group them by letter on a page.
For example the page would start with a "#" heading and display all listings starting with a number, then below that an "A" heading with all listings starting with "A", and so on...
Can anyone reccomend a quick and efficient way of doing this, without hitting the database 27 times?
Thanks in advance to anyone who can lend a hand,
Dust
For example the page would start with a "#" heading and display all listings starting with a number, then below that an "A" heading with all listings starting with "A", and so on...
Can anyone reccomend a quick and efficient way of doing this, without hitting the database 27 times?
Thanks in advance to anyone who can lend a hand,
Dust