How to save rich text editor to database? In what format is it saved? How to read?
Leon40552017-11-01 14:15:33
1), wait for the front-end data through the content in the javascript code.
2), save it in the data table as a string, the fields in the table must be tinytext, text, mediumtext and longtext types .
3), read using htmlspecialchars
Please read more documents, thank you !