quick php q
quick php q
Out of context: Reply #2
- Started
- Last post
- 5 Responses
- REINVIGORATE0
If you want what's longer then the desired length truncated use this nifty function I wrote. I use it in a lot of my stuff-
function strchk($str,$len)
{
if (strlen($str) > $len)
return substr($str,0,$len) . "..";return $str;
}