Ugh... so sorry, I'm bit slow..
Ok, so maaaaaybe this is what you are looking for...
$content = $myrow[content];
$content=substr($content,0,49);
$content=substr($content,0,strrpos($content," "));
mmm... hope it's not to much like the code you already have.. I need more coffee..
bye!