How to save rich text editor to database?
Labmem No.000
Labmem No.000 2017-11-01 12:10:19
0
1
3236

How to save rich text editor to database? In what format is it saved? How to read?

Labmem No.000
Labmem No.000

reply all(1)
Groot

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

http://fex.baidu.com/ueditor/

Please read more documents, thank you !

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template