So, beginner designer here so any help given will be much appreciated and rewarded with internet cookies.
I have dynamic content for a news site that grabs its' stories from a daily updated database. We are redesigning and it's always been a pet peev of mine that the whole teaser is put into the front page. I'm condensing it down and modified a substr that was suggested to me.
<?php
$position=200;
$post = substr($row_News['teaser'],0,$position);
echo $post;
echo "...";
?>
It works absolutely perfect, expect for the fact it cuts a word in half. Since the teasers are always changing, is this fixable or just something i have to live with if I use this substr?
Thanks always, cookies to be given out shortly.