1
My question is this, I set up the CKEditor
within a textarea
, where everything I type sends to the banco de dados
that at the same time feeds another page, working in style sistema de noticias
.
However on the page that should open the typed content and with the formatting opens with source code without formatting
EXAMPLE:
T<strong>ES</strong>TE
SYSTEM CODE WHERE THE CKEDITOR IS:
<script type="text/javascript" src="ckeditor/ckeditor.js"></script>
<textarea class="ckeditor" name="descricaodoevento" id="descricaodoevento"><? echo("$prof[descricaodoevento]");?></textarea>
DATABASE:
I don’t know if I have to change the Type and Grouping (Collation).
PAGE WHERE THE SYSTEM IS RECEIVED (type of system):
<div class="bar1"> <h2>Descrição</h2></div>
<? echo("$usr[descricaodoevento]");?>
Screenshot of Error
Why is this happening?
No, I keep showing tags in html ;s
– Paulo Pimentel
put an image of the result in your question, please?
– user6026
I posted @Harrypotter
– Paulo Pimentel
@Paulopimentel use only htmlspecialchars_decode
– user6026
gave the second <? php echo(htmlspecialchars_decode($usr['descricaodoevent']));? > Thanks for the help -
– Paulo Pimentel