i am using ck editor to compose my mail , to send mails to my user i am using the libmail class. my issue is if i echo the posted data from the ckeditor
eg: echo $message = $_POST['editor1'];
output : " < data > "
but if i send the message using the libmail the mail sended like this
<p>
" < data > "</p>
<br />
i already tried this combination:
1 . $message = strip_tags($message); 2 . $message = htmlentities($message,ENT_NOQUOTES,'UTF-8'); 3 . $message = htmlspecialchars(stripslashes(strip_tags($message))); Still i could not able to solve this issue any body kindly give your suggestion. thanks in advance