note 57796 deleted from function.strip-tags by jome
| From: | jome@php.net | Date: | Fri, 14 Oct 2005 15:23:13 +0000 |
| Subject: | note 57796 deleted from function.strip-tags by jome | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-97024@lists.php.net to get a copy of this message | ||
Note Submitter: Andrew S
Reason: already in docs
----
I find the easiest way to do this is to do an str_replace and replace the first < with the actual
html equiv.
Example:
$com = str_replace("<", "<", $com);
This way it will show <script> and in reality, it won't do anything at all, since its an
html ascii character.