hey guys
i have a textarea with ckeditor customized toolbar which user can only select smiley
now i want users can only use smilys and new line function
so if $comment is my raw text output with html tags and i want only smiley and text with new lines appeared in output not other html tags
sample raw data :
<p>
this is a sample text</p>
<p>
<img alt="angry" src="includes/ckeditor/plugins/smiley/images/angry_smile.gif" title="angry" /></p>
<p>
text for sample</p>
for new line in html :
$comment = nl2br($comment);
but what about showing only smileys ?!