Welcome Guest, Not a member yet? Register   Sign In
Storing HTML in Database from Tinymce
#1

[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?
#2

[eluser]bgreene[/eluser]
i use htmlspecialchars(tinytext) which converts things like <p> to &lt;p&gt;




Theme © iAndrew 2016 - Forum software by © MyBB