Selecting first letter from MySQL entry
| From: | Tyler Longren | Date: | Wed, 09 Aug 2000 14:40:28 +0000 |
| Subject: | Selecting first letter from MySQL entry | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-10927@lists.php.net to get a copy of this message | ||
Hello everyone,
I need to be able to select the first letter in a MySQL field. the field
name is first (for first name). There are peoples names listed there. I
have links set up to look like this:
index.php?letter=A
index.php?letter=B
index.php?letter=C
and so on
So when a user clicks on index.php?letter=C it would need to display all of
the first names that begin with C.
How do I accomplish this?
Regards,
--
Tyler Longren
[Web Development]
Premier Visual Services
http://www.pvs2000.com