You are here: Grouping « PHP « IT news, forums, messages
Grouping

Posted by Jeffrey Pearson on 01/19/06 20:19

OK. I know I did this a LONG time ago but I don't remember how I did
it. Thus, my post.

I have a list of last names from a MySQL database. I need to display
them grouped by the first letter of their last names and insert a
separator on display. Similar to a phone book. So it looks like;


A
___
Adams
Apple
Army

B
__
Banjo
Bank
Bark

C
__
Captain
Car



Is there a way without jumping through too many hoops?

Thanks for any input you can give.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация