The output is then printed with HTML,
Or there are other ways to store it!
Original style
Reply content:
The output is then printed with HTML,
Or there are other ways to store it!
Original style
You edit the content store with rich Text edit box, there must be automatically generated html
tags AH! You must have come out of the reading area, but your browser access should be the format of your storage. If the browser is accessed html
and the label is displayed, the program needs to be adjusted.
Ueditor stored in the database is the HTML format, when you output, directly to the browser to the line, the browser will parse, not the words of the AJAX request.
It should be your output when the output is Text/plain, the browser will get the content when the plain text output.
Add a header('Content-Type:text/html; charset=utf-8');
, so the browser will know that this is HTML.
What frame did you use? When the parameter is accepted, the HTML information is filtered, then the HTML information is not written into the library.
Store Rich text in MySQL text type, and put HTML code directly into the database.