note 35508 deleted from function.wordwrap by aidan
| From: | aidan@php.net | Date: | Mon, 19 Jul 2004 23:25:53 +0000 |
| Subject: | note 35508 deleted from function.wordwrap by aidan | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-73648@lists.php.net to get a copy of this message | ||
Note Submitter: dibu
----
I have the following string which is stripped from html. However, I can't figure out
how to INCLUDE html and successfully remove strip_tags...
$text = nl2br(htmlentities(strip_tags(stripslashes(implode('',file
($beschreibung))))));
if (strlen($text) > $textlaenge[galerie] && $action !="gesamt".$i) {
$text = wordwrap($text,$textlaenge[galerie],"%@@%");
$text = substr($text,0,strpos($text,"%@@%"));