Html entiiesusing php dekoderi nasıl

0 Cevap php

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>
    &quot;&nbsp; &lt; data &gt;&nbsp; &quot;</p>
<br />

ben zaten bu kombinasyon denedim:

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

0 Cevap