Ver Mensaje Individual
  #4 (permalink)  
Antiguo 08/03/2003, 02:26
Avatar de urjose
urjose
 
Fecha de Ingreso: diciembre-2001
Mensajes: 5.286
Antigüedad: 22 años, 3 meses
Puntos: 1
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));