$sql2 = "SELECT * FROM forumtutorial_posts WHERE parentID='0' order by parentid DESC"; $result2 = mysql_query($sql2); while($row2 = mysql_fetch_assoc($result2)) { $text = $row2['post']; $maxchars=300; $len = strlen($text); if($len > $maxchars) { echo "
"; echo substr($text,$maxchars) . "... [LÄS MER]