View Single Post
  #6  
Old 15th December 2019, 00:01
Napon Napon is offline
Banned
 
Join Date: Feb 2016
P2P
Posts: 522
Default
PHP Code:
$name substr$name035 ); 

PHP Code:
" . htmlspecialchars($name) . " 
or

PHP Code:
function CutName ($txt$len){
    
$len 55;
    return (
strlen($txt) > $len substr($txt0$len-1) . '...':$txt);

PHP Code:
" . CutName($dispname, 55) . " 
Reply With Quote
The Following User Says Thank You to Napon For This Useful Post:
steven2007 (17th December 2019)