Display intro text to article with a "more info" button?
I'm currently pulling out articles from a database but the articles are quite large and when i display more than 3 articles on a single page the page becomes too chaotic with text.
How can only show the first 50 words of the article?
<?php echo $entry; ?> is all i'm using to display the articles and i'm using a straight forward sql statement as well if it makes any difference? :
$sql = "SELECT * FROM php_blog WHERE category='$category' ORDER BY timestamp DESC LIMIT 5";