PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I know that this can be done, but cant find it on PHP.net or on google. Basically I want to output some writing, but limit it to say 500 words, so it will stop outputting the text after 500 words (more likely characters than words!).
The reason for this being that some of the entries are quite long, and so will take up too much space on the front page.
Hmmm, I am still coming out with an error... well, technically not an error, just displays it non-differently. This is the code I am using at the moment, think you could lend me a hand ?