![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
21/10/2009, 03:29
|
![Avatar de angel1993](http://static.forosdelweb.com/customavatars/avatar325038_2.gif) | | | Fecha de Ingreso: octubre-2009
Mensajes: 752
Antigüedad: 15 años, 4 meses Puntos: 22 | |
Respuesta: ayuda limitar caracteres a la hora de mostrar uff. $texto =$row['titulo'];
if (strlen($texto) >= $cuantos)
return $texto;
return substr($texto, 0, $cuantos) . '...';
}
No me funciona :S, nose como hacerlo.. |