yes! i have found this code, i want to be able to use <php Include> to include the text. doesnt work though. is there anyway i can get around this some how?
<php><?
$position=12; // Define how many characters you want to display.
if($post !=" "){ // In this step, if last character is not " "(space) do this step .
// Find until we found that last character is " "(space)
// by $position+1 (14+1=15, 15+1=16 until we found " "(space) that mean character 20)
while($post !=""){
$i=1;
$position=$position+$i;
$message="";
$post = substr($message,$position,1);
}
}
$post = substr($message,0,$position); // Display your message
echo $post;
echo "...";
?>
</php>