Sort alphabetically ... kind of
Posted: Fri Jan 29, 2010 9:21 am
I have a database that I would like to allow visitors to my site to search alphabetically. However, due to space on the page, I would like to offer links to sort by names A-G, H-P, Q-Z (Something like that, although the range of the letters is subjective) For example it'll look something like:
Search names:
A-G H-P Q-Z (each of these being a link)
How would I write my query(s) in PHP?
Thanks in advance.
Search names:
A-G H-P Q-Z (each of these being a link)
How would I write my query(s) in PHP?
Thanks in advance.