• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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;


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.