CodeIgniter Forums
HTML code not formatted when displaying the data - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: HTML code not formatted when displaying the data (/showthread.php?tid=22087)



HTML code not formatted when displaying the data - El Forum - 08-29-2009

[eluser]ajushi[/eluser]
Hi, the first time my description field is saved, the HTML tags are parsed and not displayed but after editing the data, the HTML tags are literally displayed (<p> showing etc.). Why is it that way and how do I solve it? Thanks in advance!


HTML code not formatted when displaying the data - El Forum - 08-29-2009

[eluser]ajushi[/eluser]
I got it. I used html_entity_decode() in my views. Smile