Hi, I am new to CKEditor, have just implemented this editor on my website. I am trying to email the posted data in HTML format but when I display the posted information, all I get is the HTML code with the data.
What am I doing wrong?? Why is the data being displayed as HTML text?
sample of my HTML code:
<textarea class="ckeditor" name="txtrecipe" id="editor"> <? php echo $txtrecipe;?> </textarea>
PHP code
$recipe = $_POST["txtrecipe"];
echo $recipe;
When I print the above, all i get is the HTML output of the data being submitted.
Am not sure what I am doing wrong? Is there a configuration setting that I am missing? Or Is my code incorrect?