Either use LEFT() in your query, or substr() on the text after it's
pulled out to limit it's length.
There was a huge discussion on this on the Devshed.com forums on how to
do this to break on a word, before or after X characters, etc... It's on
the PHP forum, maybe you can find it if you search.
If you want to do it on a # of char's (the easiest), check out substr() in
the manual.
Otherwise, to break on a full word, this will do the job:
Do your query as per usual, the below assumes your text thing is $fulltext.
I put strip_tags() in there, because if you have a tag it will:
a) scre
On Monday 29 April 2002 17:44, r wrote:
> Greetings all,
> Special greetings to all my new PHP list pals, you know who you are.
>
> Sorry to be so mysterious in the subject line but i dont know how to
> explain this in one line.
>
> ever visit a site and you get this text (Or something like this..
3 matches
Mail list logo