Pos facil pones la funcion de Cluster y luego
Código PHP:
function corte_string($str,$cuanto) {
if (empty($str)) {
return "";
}
else if (strlen($str)>$cuanto) {
return (substr($str,0,($cuanto-4))." ...");
}
else {
return $str;
}
}
print(corte_string($row["nombres"],30));