I've been looking into creating a news script, on the main page it will display the first 200 words of the article and give a link to the whole article. What would be the best way of doing this?
I've been told that I could extract the first 200 characters but not words. If I extract the first 200 characters, is there someway to prevent it from stopping in mid-word? If I need to post the entire script I will but at this point in time I'm only looking for an example.
Basically when the top story article is posted through a form it will be processed and saved. During the saving process it should clip the first 200 words (if not that, characters), it will save that along with other information to a file.
Thanks in advance.