Storing HTML in Database from Tinymce - 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: Storing HTML in Database from Tinymce (/showthread.php?tid=18193) |
Storing HTML in Database from Tinymce - El Forum - 04-28-2009 [eluser]richman[/eluser] Hi I know this has been asked a few times but what is the best way to store the HTML output by a TinyMCE instance in a database table. What steps should you take before inserting this into the DB? Storing HTML in Database from Tinymce - El Forum - 04-28-2009 [eluser]bgreene[/eluser] i use htmlspecialchars(tinytext) which converts things like <p> to <p> |