Hi Stephen,
I've seen this on a lot of news sites and such. How
can I display only so many characters, then put a ...
to show that it's continued?
?php
$story = a really really really really long string;
$limit = 10; // how many chars to display
echo substr($story, 0, $limit). ...;
?
Hi,
Wednesday, November 6, 2002, 3:21:03 AM, you wrote:
S I've seen this on a lot of news sites and such. How can I display only so many
characters, then put a ... to show that it's continued?
S Thanks,
S Stephen Craton
S http://www.melchior.us
S Life is a gift from God. Wasting it is like
2 matches
Mail list logo