oki i have this code:

<?php

// resolved

?>

what i am hoping to achieve is that if the title is more than 15 characters long, it trims it down and adds "..." on the end, this code doesn't do it though neither does the commented code, any ideas?

any help is appreciated in advance 🙂 thanks

    Why not use

    $title = substr($title,0,15)."...";
    

      lol fixed it:

      		$title = substr_replace($title, substr($title, 0, 15)."...", $title);
        Write a Reply...