First 10 words of database entry how?
Moderator: General Moderators
First 10 words of database entry how?
I am wondering if someone, could please tell me how I can display only the first 10 words of a database entry? Thanks in advance.
- John Cartwright
- Site Admin
- Posts: 11470
- Joined: Tue Dec 23, 2003 2:10 am
- Location: Toronto
- Contact:
Hmm, I can't think of anyway to grab the first 10 words. You can use LEFT() to get the X amount of characters, or you can use php to perform the regex to capture the 10 words.
viewtopic.php?t=25351
viewtopic.php?t=25351