
JFrost
Novice
May 11, 2001, 7:09 AM
Post #1 of 2
(378 views)
|
Problem with substr
|
Can't Post
|
|
Hi, I have a description field in my database, and I'm trying to use the following function for a short results page. $short_description = substr($long_description, 0, 65); For some reason I only get the first 20 characters and 3 dots (...). Why is this happening, I just want the first 65 letters and no periods after that. Please let me know what I'm doing wrong. Thanks
|