Accept <br> for new line but filter html tags in php
<p>I want my input or textarea value only accept <code>&lt;br&gt;</code> for having new lines </p>

<pre><code>$comment = trim($comment);
$comment = stripslashes($comment) ;
</code></pre>

<p>Although I do want to accept <code>&lt;br&gt;</code> for new lines  but I dont want to accept html tags </p>

<p>any suggestion ?</p>
