Forum Moderators: open
SELECT * FROM $tablename ORDER BY name (would i then do something like WHERE name="a"to"c" or something?)
I really hope this makes sense. i am a bit stuck as to how i could go about doing it. THANKS!
[edited by: txbakers at 11:41 am (utc) on Feb. 14, 2006]
[edit reason] no personal URLs [/edit]
The other way would be to have
select * from $tablename where left(name,1) in ('a','b','c') ORDER BY name
Possibly thats not what he is after though.
Do you mean that things are shown on a page grouped by letter?
Then all you need is a bit of logic in the loop that is retrieving the records, to put a break in when it changes on the boundry points you want.
Let us know if thats what you are after.