how to get formatted data(by wmd editor) in textarea
-
15-06-2021 - |
Pregunta
I want to show the data or about us to edit like stackoverflow so i used wmd editor i also used the markdown.php for markdown and its working fine. but when i fetch data in text area to show in wmd editor for that i am doing
<textarea id="wmd-input" class="wmd-panel" name="aboutme" value=""><?php echo $users->aboutme();?></textarea>
now the problem is that i am getting the data form $users->aboutme()
is with html tag
here i want to know how to remove the html tag and show like when i cal outside the textarea
Solución
Try This
<?php echo htmlentities($users->aboutme());?>
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow