note 4616 deleted from function.strip-tags by philip
| From: | philip@php.net | Date: | Fri, 21 Sep 2001 15:14:17 +0000 |
| Subject: | note 4616 deleted from function.strip-tags by philip | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-18142@lists.php.net to get a copy of this message | ||
<pre> $file=file("test.htm");
$file=implode("",$file);
$file=nl2br($file);
$file=str_replace("<br>","",$file);
print strip_tags($file);
This allows you to strip out the tags, also, if they are in different rows.
</pre>