sorry...probably too easy
| From: | Mateo the DB guy | Date: | Wed, 05 Dec 2001 18:49:46 +0000 |
| Subject: | sorry...probably too easy | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-14826@lists.php.net to get a copy of this message | ||
i'm fairly new to php, and thank you in advance for helping.
is there a function that will extract the first character from a mysql
result and put it into a variable?
the goal is to make one of these browse-by-alpha lists
ABCDEFGHIJKLMNOPQRSTUVWXYZ
A
Adam
Alethea
Arnie
B
Billy
Buster
...
where all the names come from the mysql query, and the anchors are
automatically built where they need to be.