PHP Mysql content sneak peek

vubserresiupe

New Member
Just wondering if anyone has got any ideas regarding sneak-peaking the content of a mysql table?Ie. say there are 10 posts with 500 words each. I want to list all the posts with a content sneak peak... i.e display a couple of lines or 200 characters etc. for each post The thing i'm wondering is how to do that while keeping server workload as low as possible. I could load the entire content and then remove what I dont want with the use of substr, but I have a feeling thats not the best way.Thanks in advance
 
Back
Top