Possible Duplicate:
Strip all HTML tags, except allowed
I’m new to PHP
Here is my code
<p>The filetype you are attempting to upload is not allowed.</p>
The expected output:
The filetype you are attempting to upload is not allowed.
How to remove the tags <p>?
use
strip_tags()to remove HTML tagshttp://php.net/manual/en/function.strip-tags.php
will give you
The filetype you are attempting to upload is not allowed.