Re: Re[2]: [PHP] Creating a line break between letter groupings

2003-11-19 Thread Doug Parker
Worked great. Thanks!! "Tom Rogers" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, > > Thursday, November 20, 2003, 11:12:55 AM, you wrote: > TR> Hi, > > TR> Keep track of the first letter and if it changes echo a > > TR> $key = '' > > TR> //loop through results > > TR> while

Re[2]: [PHP] Creating a line break between letter groupings

2003-11-19 Thread Tom Rogers
Hi, Thursday, November 20, 2003, 11:12:55 AM, you wrote: TR> Hi, TR> Keep track of the first letter and if it changes echo a TR> $key = '' TR> //loop through results TR> while($result = mysql..){ TR> $char = strtoupper(substr($row['name'],0,1)); TR> if(empty($key){ TR> $key = $ch

Re: [PHP] Creating a line break between letter groupings

2003-11-19 Thread Tom Rogers
Hi, Thursday, November 20, 2003, 11:03:22 AM, you wrote: DP> I'm reading a list of stores from a database and ordering them DP> alphabetically. How would I place a line break in between each letter DP> grouping? For example, DP> Applebee's DP> Aaron's Place DP> Aardvark Store DP> Bumblebee's

[PHP] Creating a line break between letter groupings

2003-11-19 Thread Doug Parker
I'm reading a list of stores from a database and ordering them alphabetically. How would I place a line break in between each letter grouping? For example, Applebee's Aaron's Place Aardvark Store Bumblebee's Bears R' Us Big Bad Johnny's Caterpillar central Coffee time!! etc.- with the line