SitePoint Sponsor |
|
User Tag List
Results 1 to 2 of 2
Thread: Limit output
-
May 22, 2003, 18:44 #1
- Join Date
- Jun 2002
- Posts
- 10
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Limit output
I am using PHP show descriptions from a database.The decscriptions are linked to another page and I need to limit the linked descriptions to a 50 (or 100) characters. I can't find the function, although I'm sure as soon as my boss stops looking over my shoulder I will. But just in case can someone help? Please? Thank you.
-
May 22, 2003, 18:58 #2
- Join Date
- Mar 2003
- Location
- Hamilton, Ontario
- Posts
- 129
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
www.php.net/strlen
*edit
sorry that should be www.php.net/substr
Bookmarks