Your IP is: 3.80.177.176

Read More Script in PHP

The following code will break apart a paragraph and display defined number of words before displaying the link 'READ MORE...'

(Assuming you have the data in a variable named $content)

<?php

$brkcon = explode(" " ,$content);

$wi = 0;

$glimpse = "";

while($wi < 25)

{

$glimpse .= $brkcon[$wi] . " " ;

$wi ;

}

echo $glimpse . "<a href='[Link to the full article]'>Read More...</a>";

?>