sure, am actually doing this right now ;-)
It depends on how fancy you want to get...if you don't mind slicing off in
the middle of a word, you can just do this:
$preview_text = substr($text,0,200) . '. . .'; //gets the first 200
characters and adds an ellipsis afterwards
if you want to make sure
On Fri, 7 Sep 2001 16:49, [EMAIL PROTECTED] wrote:
> Hey guys,
>
> I have a mysql database of articles, and what i'd like to do is make 1
> page that shows a brief sneak peak of each article, so what I would do
> is, show the first 50 or so words of each article and then add an
> elipses at the e
2 matches
Mail list logo