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
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
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
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
4 matches
Mail list logo