$limit) $text = substr($text, 0, strrpos(substr($text, 0, $limit), ' ')) . '...'; echo "

$title

$text

"; }?>