All,
What I want to do is this:
1. Retrieve the names of the groups from the database.
2. If a group name begins with that letter, write that letter on the page
3. If not, move on to the next letter.
i.e:
no records for "A" - Display nothing
1 record for groups beginning with "B" - Print "B" on page
Print group names here
Can someone give me a pointer in the right direction? I think I should be
retrieving the group names with a "select * from..." and then using strchr()
or substr() to get the first character from the array and then print it.
This seems like an awfully long way of doing things!
Any ideas are greatly appreciated...
Cheers,
Matt
____ � The WDVL Discussion List from WDVL.COM � ____
To Join wdvltalk, Send An Email To: mailto:wdvltalk-join@;lists.wdvl.com
Send Your Posts To: [EMAIL PROTECTED]
To change subscription settings to the wdvltalk digest version:
http://wdvl.internet.com/WDVL/Forum/#sub
________________ http://www.wdvl.com _______________________
You are currently subscribed to wdvltalk as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]