Ask, CI framework embedded Baidu Editor, how to get editor content
The system has a page, users need to fill in the text information, I put Baidu editor embedded in, but do not know how to get the content to write, and then submit. Generate PHP files.
Now I do not know how this editor is submitted by the form, itself this does not take a form, checked the information did not get out.
Thank you
Two questions,
1. How to get the content that the editor fills in.
2. The editor fills in the content to generate the PHP file
------to solve the idea----------------------
$_post[' Myeditor ' is the HTML code in the editor.
------to solve the idea----------------------
References:
Quote: References:
Above can be obtained, but not source code
I want to get
Content of XX written
Tagged source code
What you get is content with HTML tags!
Only if you echo it, what you see on the browser is the formatted content. Because HTML is always interpreted by the browser
You can view the source code or output with a pre-formatted label