Re: How to prevent HTML from being pharsed?
| From: | Justin French | Date: | Mon, 21 Oct 2002 14:53:14 +0000 |
| Subject: | Re: How to prevent HTML from being pharsed? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-120744@lists.php.net to get a copy of this message | ||
What do you mean???
a) Would you rather that tags were printed to the screen/browser as plain
text? check out htmlspecialchars() and htmlentities() in the manual
or
b) Would you like to strip all the HTML tags from the text? check out
striptags()
Justin
on 21/10/02 11:26 PM, iphoting (myself@iphoting.com) wrote:
> How to prevent HTML code or tags from being pharsed in echo(); ?
>
> Anyone has any idea?
>
> Thanks in advance!
>
>